@umijs/bundler-utoopack 4.6.35 → 4.6.37
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.
- package/dist/config.js +3 -2
- package/package.json +4 -4
package/dist/config.js
CHANGED
|
@@ -316,7 +316,6 @@ async function getDevUtooPackConfig(opts) {
|
|
|
316
316
|
svgo = {},
|
|
317
317
|
inlineLimit
|
|
318
318
|
} = opts.config;
|
|
319
|
-
const normalizedExternals = getNormalizedExternals(userExternals);
|
|
320
319
|
utooBundlerOpts = {
|
|
321
320
|
...utooBundlerOpts,
|
|
322
321
|
config: import_utils.lodash.merge(
|
|
@@ -350,8 +349,10 @@ async function getDevUtooPackConfig(opts) {
|
|
|
350
349
|
define: {
|
|
351
350
|
"process.env": JSON.stringify(processEnvForUtoopack)
|
|
352
351
|
},
|
|
352
|
+
// dev enable persistent cache by default
|
|
353
|
+
persistentCaching: true,
|
|
353
354
|
nodePolyfill: true,
|
|
354
|
-
externals:
|
|
355
|
+
externals: getNormalizedExternals(userExternals),
|
|
355
356
|
...getSvgModuleRules({ svgr, svgo, inlineLimit })
|
|
356
357
|
},
|
|
357
358
|
opts.config.utoopack || {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-utoopack",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.37",
|
|
4
4
|
"description": "@umijs/bundler-utoopack",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@utoo/pack": "1.3.
|
|
11
|
+
"@utoo/pack": "1.3.7",
|
|
12
12
|
"compression": "^1.7.4",
|
|
13
13
|
"connect-history-api-fallback": "^2.0.0",
|
|
14
14
|
"cors": "^2.8.5",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"postcss": "^8.4.21",
|
|
20
20
|
"sass": "1.54.0",
|
|
21
21
|
"sass-loader": "13.2.0",
|
|
22
|
-
"@umijs/bundler-webpack": "4.6.
|
|
23
|
-
"@umijs/bundler-utils": "4.6.
|
|
22
|
+
"@umijs/bundler-webpack": "4.6.37",
|
|
23
|
+
"@umijs/bundler-utils": "4.6.37"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"father": "4.1.5"
|