discourse/app/assets/javascripts/theme-transpiler
David Taylor 1346318a4c
DEV: Disable babel compact for theme compiler (#35469)
Compact docs:

> All optional newlines and whitespace will be omitted when generating
code in compact mode.

By default it's in auto mode, and emits a warning when it gets
auto-disabled for large files.

We use terser to strip unnecessary whitespace in production, so there's
no real benefit to us using `compact`. Easier to just disable it and
stop the warnings.
2025-10-17 13:58:28 +01:00
..
rollup-plugins DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
add-theme-globals.js DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
add-theme-globals.test.mjs DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
babel-replace-imports.js DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
babel-replace-imports.test.mjs DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
build.js DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
content-tag.js DEV: Resolve content-tag initSync deprecation (#32746) 2025-05-15 13:04:52 +01:00
noop.js DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
package.json Build(deps): Bump @rollup/plugin-babel from 6.0.4 to 6.1.0 (#35357) 2025-10-14 00:35:57 +02:00
postcss-variable-prefixer.js DEV: Bump linting dependencies and fix violations (#32682) 2025-05-12 14:14:07 +01:00
postcss.js FIX: Support light-dark on older browsers (#34438) 2025-08-20 12:45:54 +01:00
rollup-virtual-imports.js FIX: JS/HBS connectors in themes (#34130) 2025-08-07 12:39:06 +01:00
shims.js DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
theme-hbs-ast-transforms.js DEV: Move theme hbs transforms into dedicated file (#33602) 2025-07-14 14:08:56 +01:00
theme-rollup.js DEV: Disable babel compact for theme compiler (#35469) 2025-10-17 13:58:28 +01:00
transpiler.js FIX: Ensure ember version in cache key is coupled to compiler (#34694) 2025-09-02 22:29:02 +01:00
url-polyfill.js DEV: Improve postcss error handling (#31420) 2025-02-20 16:48:22 +00:00