Skip to content

Commit

Permalink
Update webpack deps, disable minify plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdevero committed Feb 18, 2021
1 parent 5a02eb2 commit 62f0384
Show file tree
Hide file tree
Showing 3 changed files with 761 additions and 1,577 deletions.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,22 @@
"@babel/core": "^7.12.10",
"@babel/preset-react": "^7.12.10",
"babel-loader": "^8.2.2",
"babel-minify-webpack-plugin": "^0.3.1",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"electron": "^11.1.1",
"electron-devtools-installer": "^3.1.1",
"electron-packager": "^15.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^4.5.0",
"mini-css-extract-plugin": "^1.3.3",
"html-webpack-plugin": "^5.1.0",
"mini-css-extract-plugin": "^1.3.7",
"postcss-import": "^14.0.0",
"postcss-loader": "^4.1.0",
"postcss-nested": "^5.0.3",
"postcss-preset-env": "^6.7.0",
"postcss-pxtorem": "^5.1.1",
"style-loader": "^2.0.0",
"webpack": "^5.11.0",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0"
"webpack": "^5.22.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2"
}
}
4 changes: 2 additions & 2 deletions webpack.build.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const webpack = require('webpack')
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const MinifyPlugin = require('babel-minify-webpack-plugin')
// const MinifyPlugin = require('babel-minify-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')

// Any directories you will be adding code/files into, need to be added to this array so webpack will pick them up
Expand Down Expand Up @@ -48,7 +48,7 @@ module.exports = {
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production')
}),
new MinifyPlugin()
// new MinifyPlugin()
],
stats: {
colors: true,
Expand Down
Loading

0 comments on commit 62f0384

Please sign in to comment.