Skip to content
Snippets Groups Projects
Commit 14966e4b authored by Jack Reed's avatar Jack Reed
Browse files

do not mangle classnames :( increases buildsize

parent 3f48db8e
Branches
No related tags found
No related merge requests found
......@@ -66,6 +66,7 @@
"react-dev-utils": "^6.1.1",
"redux-mock-store": "^1.5.1",
"style-loader": "^0.22.1",
"terser-webpack-plugin": "^1.2.1",
"webpack": "^4.27.1",
"webpack-cli": "^3.1.2"
}
......
const path = require('path');
const TerserPlugin = require('terser-webpack-plugin');
const paths = require('./config/paths');
const eslintLoaderConfig = {
......@@ -80,5 +81,14 @@ module.exports = [
],
}],
},
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
mangle: false,
},
}),
],
},
},
];
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment