Skip to content

Commit

Permalink
chore(build): Minor optimisation on the UglifyJS settings to remove c…
Browse files Browse the repository at this point in the history
…omments.

Minor optimisation on the UglifyJS settings to remove comments.
  • Loading branch information
ctrlplusb committed May 19, 2016
1 parent e5be0d1 commit e311f46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ const config = {
if (env === `production`) {
config.plugins.push(
new webpack.optimize.UglifyJsPlugin({
output: {
comments: false
},
compressor: {
pure_getters: true,
unsafe: true,
Expand Down

0 comments on commit e311f46

Please sign in to comment.