app: preserve class names with uglification

This commit is contained in:
Guillermo Rauch 2016-07-16 11:58:08 -07:00
parent e2ebbf4e5e
commit 4863fe581b

View file

@ -29,6 +29,9 @@ module.exports = {
plugins: [
new webpack.ExternalsPlugin('commonjs', ['electron']),
new webpack.optimize.UglifyJsPlugin({
mangle: {
keep_fnames: true
},
compress: {
warnings: false
},