Skip to content

Commit

Permalink
Remove JS comments from prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Mar 2, 2016
1 parent 06c2d7f commit da82a67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ module.exports = {
}
}),
new webpack.optimize.UglifyJsPlugin({
compressor: {
warnings: false
}
compressor: { warnings: false },
comments: false
}),
new ExtractTextPlugin('app.css')
],
Expand Down

0 comments on commit da82a67

Please sign in to comment.