Skip to content

Commit

Permalink
build: improve terser output
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Sep 28, 2019
1 parent 14c5df6 commit 11ca28b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export default {
commonjs(),
terser({
toplevel: true,
compress: {
pure_getters: true,
pure_funcs: ['path.join'],
},
}),
],
};

0 comments on commit 11ca28b

Please sign in to comment.