Skip to content

Commit

Permalink
fix: Remove SWC and Terser minification clash (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thisen committed Jun 16, 2023
1 parent 2c0435a commit 23e25cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/es5.ts
Expand Up @@ -35,7 +35,7 @@ export const es5 = (): Plugin => {
parser: {
syntax: 'ecmascript',
},
minify: this.options.minify ? {
minify: this.options.minify === true ? {
compress: false,
mangle: {
reserved: this.options.globalName ? [this.options.globalName] : []
Expand Down

0 comments on commit 23e25cd

Please sign in to comment.