Skip to content

Commit

Permalink
Remove comments from production builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Mar 7, 2016
1 parent 78463b2 commit 03a4e22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webpack.config.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ module.exports = {
new webpack.optimize.UglifyJsPlugin({
compressor: {
warnings: false
}
},
comments: false
})
],
module: {
Expand Down
3 changes: 2 additions & 1 deletion webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ module.exports = {
new webpack.optimize.UglifyJsPlugin({
compressor: {
warnings: false
}
},
comments: false
}),
new ExtractTextPlugin('app.css')
],
Expand Down

0 comments on commit 03a4e22

Please sign in to comment.