Skip to content

Commit

Permalink
Separate minify compress option (#161)
Browse files Browse the repository at this point in the history
* separate minify compress option

* remove compression flag
  • Loading branch information
guybedford authored and rauchg committed Dec 16, 2018
1 parent d253fe6 commit 2102cf5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,7 @@ module.exports = async (
if (!minify)
return { code, map, assets };
const result = terser.minify(code, {
compress: {
keep_classnames: true,
keep_fnames: true
},
compress: false,
mangle: {
keep_classnames: true,
keep_fnames: true
Expand Down

0 comments on commit 2102cf5

Please sign in to comment.