Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Commit

Permalink
Disable UglifyJS warnings, most of these are external libraries or we…
Browse files Browse the repository at this point in the history
…b-pack bundles.
  • Loading branch information
Tahir Poduska committed Apr 3, 2017
1 parent 7467564 commit bb80132
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ module.exports = {
onBuildExit:['rm public/javascripts/main.bundle.js']
}),
new UglifyJSPlugin({
compress: true
compress: {
warnings: false
}
}),
new OptimizeCssAssetsPlugin({
assetNameRegExp: /main.css$/,
Expand Down

0 comments on commit bb80132

Please sign in to comment.