mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
chore: use default webpack-terser-plugin
This commit is contained in:
parent
b8623b6e4e
commit
2d157c8769
@ -68,7 +68,6 @@
|
||||
"prettier": "^2.3.2",
|
||||
"prettier-plugin-jsdoc": "^0.3.23",
|
||||
"prettier-plugin-organize-imports": "^2.3.3",
|
||||
"terser-webpack-plugin": "^5.2.5",
|
||||
"ts-jest": "^27.1.1",
|
||||
"typescript": "^4.5.3",
|
||||
"weak-napi": "^2.0.2",
|
||||
|
||||
@ -41,9 +41,7 @@ const config = {
|
||||
['@babel/preset-env', { targets: 'defaults' }],
|
||||
'@babel/preset-typescript'
|
||||
],
|
||||
plugins: ['@babel/plugin-transform-modules-commonjs'],
|
||||
comments: false,
|
||||
sourceMaps: true
|
||||
plugins: ['@babel/plugin-transform-modules-commonjs']
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -52,7 +50,7 @@ const config = {
|
||||
|
||||
optimization: {
|
||||
minimize: true,
|
||||
minimizer: [new TerserWebpackPlugin()]
|
||||
minimizer: [new TerserWebpackPlugin({ parallel: true })]
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -4340,7 +4340,7 @@ terminal-link@^2.0.0:
|
||||
ansi-escapes "^4.2.1"
|
||||
supports-hyperlinks "^2.0.0"
|
||||
|
||||
terser-webpack-plugin@^5.1.3, terser-webpack-plugin@^5.2.5:
|
||||
terser-webpack-plugin@^5.1.3:
|
||||
version "5.2.5"
|
||||
resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.2.5.tgz#ce65b9880a0c36872555c4874f45bbdb02ee32c9"
|
||||
integrity sha512-3luOVHku5l0QBeYS8r4CdHYWEGMmIj3H1U64jgkdZzECcSOJAyJ9TjuqcQZvw1Y+4AOBN9SeYJPJmFn2cM4/2g==
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user