We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1750ae6 commit db081afCopy full SHA for db081af
1 file changed
src/packager/packager.js
@@ -276,7 +276,7 @@ class Packager extends EventTarget {
276
texts.push(await this.fetchLargeAsset('scaffolding-min', 'text'));
277
}
278
if (this.options.removeDefaultFonts) texts[1] = removeDefaultFonts(texts[1]);
279
- if (this.options.optimizeCode) texts[1] = window.test ? window.test(texts[1], this) : optiCompress(texts[1], this);
+ if (this.options.optimizeCode) texts[1] = optiCompress(texts[1], this);
280
if (Object.values(this.getAddonOptions()).some((i) => i)) {
281
texts.push(await this.fetchLargeAsset('addons', 'text'));
282
0 commit comments