Closed hyshka closed 7 years ago
webpackConfig.plugins.push(new webpack.optimize.UglifyJsPlugin({ beautify: false, mangle: { screw_ie8: true, }, compress: { screw_ie8: true, warnings: false, drop_console: true, }, comments: false, }));
Then we can leave console.log's in for dev and debugging purposes.
Dropping keen_fnames also saves a bunch of bytes. Worth removing IMO.
keen_fnames
This has been done already.
Then we can leave console.log's in for dev and debugging purposes.
Dropping
keen_fnames
also saves a bunch of bytes. Worth removing IMO.