build(umd-module): prevent mangling (#4320)

* Prevent mangling of names in UMD distribution

This makes debugging easier in general.

* use `uglifyOptions`
This commit is contained in:
Fritz
2018-05-22 13:31:28 +09:00
committed by kyle
parent 32ab8b3ce8
commit 37001b38bb
3 changed files with 7 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ module.exports = require("./make-webpack-config.js")(rules, {
_special: {
separateStylesheets: true,
minimize: true,
mangle: true,
sourcemaps: true,
},