Skip to content

Commit a5e7818

Browse files
committed
chore: minify some class props from core
1 parent 9fce25a commit a5e7818

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/submodule-core.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,11 @@ async function submoduleCoreProduction(config: BuildConfig, code: string, outPat
209209
ecma: 2020,
210210
preamble: getBanner('@qwik.dev/core', config.distVersion),
211211
},
212-
mangle: false,
212+
mangle: {
213+
properties: {
214+
regex: '^\\$.+\\$$',
215+
},
216+
},
213217
});
214218
code = result.code!;
215219

0 commit comments

Comments
 (0)