diff --git a/rollup.config.js b/rollup.config.js index b64f9d2f3..a0abcd05b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -313,7 +313,10 @@ const TERSER_PLUGIN_OPTIONS = { compress: { keep_infinity: true, pure_getters: true, - reduce_funcs: false + reduce_funcs: true + }, + mangle: { + reserved: ['theme', 'css'] } };