1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

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 2020-12-03 14:50:04 +08:00
parent 6e4b7fe2f2
commit 9ccc9bf790
No known key found for this signature in database
GPG Key ID: A28B7834EFA73792

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: [