Skip to content

Commit abaed00

Browse files
committed
feat: enable caching for uglifyjs plugin
1 parent bd1ffd3 commit abaed00

File tree

1 file changed

+2
-4
lines changed
  • packages/@vue/cli-service/lib/config

1 file changed

+2
-4
lines changed

packages/@vue/cli-service/lib/config/prod.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,11 @@ module.exports = (api, options) => {
7777
// required features to drop conditional branches
7878
conditionals: true,
7979
dead_code: true,
80-
evaluate: true,
81-
82-
// turn off warnings when dropping dead code
83-
warnings: false
80+
evaluate: true
8481
}
8582
},
8683
sourceMap: options.productionSourceMap,
84+
cache: true,
8785
parallel: true
8886
}])
8987
}

0 commit comments

Comments
 (0)