Remove TerserPlugin options .cache which is not valid in v5, remove parallel:true which is default, remove sourceMap: true as should be enabled via devtool

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-01-07 11:18:10 +08:00
1 parent 6e4b7fe2f2
commit 9ccc9bf790
1 file changed
-3
-3
View File
@@ -61,9 +61,6 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
minimize: isProduction, minimize: isProduction,
minimizer: [ minimizer: [
new TerserPlugin({ new TerserPlugin({
cache: true,
parallel: true,
sourceMap: true,
extractComments: { extractComments: {
condition: "some", condition: "some",
banner: [ banner: [