Skip to content

Commit

Permalink
improves UglifyJS mangling
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Mar 14, 2017
1 parent 046c76a commit 0fc9d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module.exports = [
filename: "styles.css",
allChunks: true
}),
new webpack.optimize.UglifyJsPlugin({compressor: {warnings: false}, mangle: false}),
new webpack.optimize.UglifyJsPlugin({compressor: {warnings: false}, mangle: {keep_fnames: true}}),
new webpack.DefinePlugin({__DEVCLIENT__: false, __DEVSERVER__: false}),
new webpack.IgnorePlugin(/vertx/),
new InlineEnviromentVariablesPlugin({NODE_ENV: "production"})
Expand Down

0 comments on commit 0fc9d27

Please sign in to comment.