@umijs/bundler-webpack 3.5.24 → 3.5.27
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.
|
@@ -475,7 +475,7 @@ function _getConfig() {
|
|
|
475
475
|
} else if (!opts.__disableTerserForTest) {
|
|
476
476
|
webpackConfig.optimization.minimizer('terser').use(require.resolve('../webpack/plugins/terser-webpack-plugin'), [{
|
|
477
477
|
terserOptions: (0, _utils().deepmerge)(_terserOptions.default, config.terserOptions || {}),
|
|
478
|
-
sourceMap: config.devtool
|
|
478
|
+
sourceMap: Boolean(config.devtool),
|
|
479
479
|
cache: process.env.TERSER_CACHE !== 'none',
|
|
480
480
|
// 兼容内部流程系统,读到的 cpu 数并非真实的
|
|
481
481
|
// 使用 SIGMA_MAX_PROCESSORS_LIMIT 指定真核数
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-webpack",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.27",
|
|
4
4
|
"description": "@umijs/bundler-webpack",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"strip-ansi": "6.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@umijs/bundler-utils": "3.5.
|
|
41
|
-
"@umijs/deps": "3.5.
|
|
42
|
-
"@umijs/types": "3.5.
|
|
43
|
-
"@umijs/utils": "3.5.
|
|
40
|
+
"@umijs/bundler-utils": "3.5.27",
|
|
41
|
+
"@umijs/deps": "3.5.27",
|
|
42
|
+
"@umijs/types": "3.5.27",
|
|
43
|
+
"@umijs/utils": "3.5.27",
|
|
44
44
|
"jest-worker": "26.6.2",
|
|
45
45
|
"node-libs-browser": "2.2.1",
|
|
46
46
|
"normalize-url": "1.9.1",
|