A platform for community discussion. Free, open, simple.
DEV: Disable babel compact for theme compiler (#35469)
David Taylor1346318a4cf4
diff --git a/app/assets/javascripts/theme-transpiler/theme-rollup.js b/app/assets/javascripts/theme-transpiler/theme-rollup.jsindex fc79cf1c95d..5a46fb7f5e6 100644--- a/app/assets/javascripts/theme-transpiler/theme-rollup.js+++ b/app/assets/javascripts/theme-transpiler/theme-rollup.js@@ -49,10 +49,12 @@ globalThis.rollup = function (modules, opts) {discourseColocation({ themeBase }),getBabelOutputPlugin({plugins: [BabelReplaceImports],+ compact: false,}),babel({extensions: [".js", ".gjs", ".hbs"],babelHelpers: "bundled",+ compact: false,plugins: [[DecoratorTransforms, { runEarly: true }],AddThemeGlobals,