Cleaning up imports, updating libs.

master
Thomas Hintz 5 years ago
parent 54ec20ab6b
commit 90f4e959cd

3922
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -30,6 +30,7 @@
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.2",
"css-url-relative-plugin": "^1.0.0",
"favicons-webpack-plugin": "^2.1.0",
"file-loader": "^4.3.0",
"html-webpack-plugin": "^3.2.0",
@ -39,6 +40,7 @@
"postcss-loader": "^3.0.0",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.3",
"terser-webpack-plugin": "^2.3.5",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2"
@ -48,9 +50,6 @@
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-fontawesome": "^0.1.8",
"cookies-js": "^1.2.3",
"css-url-relative-plugin": "^1.0.0",
"mobx": "^5.15.3",
"mobx-react": "^6.1.4",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^7.1.3",

@ -21,6 +21,7 @@ const common = require('./webpack.common.js');
const path = require('path');
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const TerserPlugin = require('terser-webpack-plugin');
module.exports = function(env) {
return merge(common, {
@ -32,7 +33,8 @@ module.exports = function(env) {
'node_modules']
},
optimization: {
minimizer: [new OptimizeCssAssetsPlugin({})],
minimize: true,
minimizer: [new OptimizeCssAssetsPlugin({}), new TerserPlugin()],
},
});
}

Loading…
Cancel
Save