mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
fix(Webpack): revert webpack upgrade
This commit is contained in:
parent
e9f36b5041
commit
94c9cc2300
3 changed files with 2221 additions and 252 deletions
2466
package-lock.json
generated
2466
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -73,11 +73,11 @@
|
|||
"json-filter-loader": "^1.0.0",
|
||||
"lint-staged": "^10.4.2",
|
||||
"prettier": "^2.1.2",
|
||||
"terser-webpack-plugin": "^5.0.0",
|
||||
"terser-webpack-plugin": "^4.2.3",
|
||||
"tslint": "^6.1.3",
|
||||
"typescript": "^4.0.3",
|
||||
"webpack": "^5.1.3",
|
||||
"webpack-cli": "^4.1.0"
|
||||
"webpack": "^4.44.2",
|
||||
"webpack-cli": "^3.3.12"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ module.exports = {
|
|||
minimize: true,
|
||||
minimizer: [
|
||||
new TerserJSPlugin({
|
||||
cache: false,
|
||||
terserOptions: {
|
||||
mangle: { keep_classnames: true, keep_fnames: true },
|
||||
keep_classnames: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue