mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 21:28:40 -09:00
app: preserve class names with uglification
This commit is contained in:
parent
e2ebbf4e5e
commit
4863fe581b
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,9 @@ module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.ExternalsPlugin('commonjs', ['electron']),
|
new webpack.ExternalsPlugin('commonjs', ['electron']),
|
||||||
new webpack.optimize.UglifyJsPlugin({
|
new webpack.optimize.UglifyJsPlugin({
|
||||||
|
mangle: {
|
||||||
|
keep_fnames: true
|
||||||
|
},
|
||||||
compress: {
|
compress: {
|
||||||
warnings: false
|
warnings: false
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue