Update webpack

This commit is contained in:
sienori 2021-09-09 02:02:24 +09:00
parent ef1f5e33c7
commit 7d744c549d
3 changed files with 1000 additions and 2253 deletions

3240
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -22,15 +22,15 @@
"clean-webpack-plugin": "^0.1.19", "clean-webpack-plugin": "^0.1.19",
"copy-webpack-plugin": "^6.4.1", "copy-webpack-plugin": "^6.4.1",
"css-loader": "^5.2.4", "css-loader": "^5.2.4",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^5.3.2",
"mini-css-extract-plugin": "^0.5.0", "mini-css-extract-plugin": "^2.2.2",
"node-sass": "^4.14.1", "node-sass": "^6.0.1",
"opener": "^1.5.1", "opener": "^1.5.1",
"react-svg-loader": "^3.0.3", "react-svg-loader": "^3.0.3",
"sass-loader": "^7.0.3", "sass-loader": "^12.1.0",
"style-loader": "^0.21.0", "style-loader": "^0.21.0",
"webextension-polyfill": "^0.3.1", "webextension-polyfill": "^0.3.1",
"webpack": "^4.44.2", "webpack": "^5.52.0",
"webpack-bundle-analyzer": "^3.7.0", "webpack-bundle-analyzer": "^3.7.0",
"webpack-cli": "^3.3.11", "webpack-cli": "^3.3.11",
"zip-webpack-plugin": "^3.0.0" "zip-webpack-plugin": "^3.0.0"

View file

@ -119,7 +119,8 @@ module.exports = [
patterns: [ patterns: [
{ {
from: `src`, from: `src`,
to: path.resolve(__dirname, `${config.tempDirectory}/copiedSource/src/`) to: path.resolve(__dirname, `${config.tempDirectory}/copiedSource/src/`),
info: { minimized: true }
}, },
{ {
from: `babel.config.js`, from: `babel.config.js`,