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