@dmqweb/elpis 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -134,7 +134,7 @@ const webpackProdConfig = merge(baseConfig, {
|
|
|
134
134
|
minimizer: [
|
|
135
135
|
new TerserWebpackPlugin({
|
|
136
136
|
parallel: true, // 启用缓存来加速构建过程
|
|
137
|
-
cache: true, // 利用多核 CPU
|
|
137
|
+
// cache: true, // 利用多核 CPU 的优势来提升构建速度,webpack 5内置了、不再需要
|
|
138
138
|
terserOptions: {
|
|
139
139
|
compress: {
|
|
140
140
|
drop_console: true, // 删除所有 console.* 语句
|