Skip to content

Commit

Permalink
[SWIK-1287_translation_ui_decks_and_slides] Used correct Uglify lib i…
Browse files Browse the repository at this point in the history
…n override in production
  • Loading branch information
TBoonX committed Jun 11, 2018
1 parent e7323ce commit b9ad428
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion webpack/prod.settings.config.js
@@ -1,5 +1,6 @@
let webpack = require('webpack');
let path = require('path');
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');

module.exports = {
name: 'settings',
Expand All @@ -20,6 +21,13 @@ module.exports = {
]
},
plugins: [
new webpack.optimize.UglifyJsPlugin(),
new UglifyJSPlugin({
sourceMap: true,
uglifyOptions: {
compress: {
warnings: false
}
}
})
],
};

0 comments on commit b9ad428

Please sign in to comment.