summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 2297fc5..dbdab02 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -229,7 +229,10 @@ module.exports = [
// Reference:
// http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
// Minify all javascript, switch loaders to minimizing mode
- new webpack.optimize.UglifyJsPlugin(),
+ // TODO: openbmc/openbmc#2781 Mangling currently breaks the GUI.
+ new webpack.optimize.UglifyJsPlugin({
+ mangle: false
+ }),
// Copy assets from the public folder
// Reference: https://github.com/kevlened/copy-webpack-plugin
OpenPOWER on IntegriCloud