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:
parent
6e4b7fe2f2
commit
9ccc9bf790
@ -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: [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user