discourse/app/assets/javascripts/theme-transpiler
David Taylor f4b70c746d
DEV: Extract theme script tags into their own JS files (#33647)
Previously, all script tags in a theme field would be combined into a
single `.js` bundle along with the `text/discourse-plugin` modules. This
led to some unexpected run order, and also makes it hard to implement
the `type=module` change being developed in #33103.

This commit refactors things so that each raw script gets extracted into
its own `.js` bundle, which is then placed in exactly the same place in
the HTML.
2025-07-16 17:17:36 +01:00
..
build.js DEV: Refactor content-tag usage in theme-transpiler, and upgrade (#32684) 2025-05-12 17:54:48 +01:00
content-tag.js DEV: Resolve content-tag initSync deprecation (#32746) 2025-05-15 13:04:52 +01:00
package.json Build(deps): Bump @babel/standalone from 7.28.0 to 7.28.1 in the babel group (#33588) 2025-07-14 14:26:16 +02:00
postcss-variable-prefixer.js DEV: Bump linting dependencies and fix violations (#32682) 2025-05-12 14:14:07 +01:00
postcss.js DEV: Introduce postcss minmax transform (#31885) 2025-03-18 19:28:52 +00:00
shims.js DEV: Refactor content-tag usage in theme-transpiler, and upgrade (#32684) 2025-05-12 17:54:48 +01:00
theme-hbs-ast-transforms.js DEV: Move theme hbs transforms into dedicated file (#33602) 2025-07-14 14:08:56 +01:00
transpiler.js DEV: Extract theme script tags into their own JS files (#33647) 2025-07-16 17:17:36 +01:00
url-polyfill.js DEV: Improve postcss error handling (#31420) 2025-02-20 16:48:22 +00:00