Skip to content

Commit

Permalink
opt out of collapse_vars in terser (#58)
Browse files Browse the repository at this point in the history
closes #36
  • Loading branch information
swyxio authored and jaredpalmer committed Apr 30, 2019
1 parent df39d02 commit abddb2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/createRollupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export function createRollupConfig(
compress: {
keep_infinity: true,
pure_getters: true,
collapse_vars: false
},
ecma: 5,
toplevel: format === 'es' || format === 'cjs',
Expand Down

0 comments on commit abddb2d

Please sign in to comment.