@umijs/bundler-utoopack 4.6.44 → 4.6.45
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 +5 -1
- package/package.json +3 -3
package/dist/config.js
CHANGED
|
@@ -412,7 +412,11 @@ async function getDevUtooPackConfig(opts) {
|
|
|
412
412
|
)
|
|
413
413
|
},
|
|
414
414
|
optimization: {
|
|
415
|
-
modularizeImports
|
|
415
|
+
modularizeImports,
|
|
416
|
+
// Disable the options under dev for utoopack
|
|
417
|
+
// otherwise it will affect react-refresh
|
|
418
|
+
removeUnusedExports: false,
|
|
419
|
+
removeUnusedImports: false
|
|
416
420
|
},
|
|
417
421
|
styles: {
|
|
418
422
|
less: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-utoopack",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.45",
|
|
4
4
|
"description": "@umijs/bundler-utoopack",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"resolve-url-loader": "5.0.0",
|
|
21
21
|
"sass": "1.54.0",
|
|
22
22
|
"sass-loader": "13.2.0",
|
|
23
|
-
"@umijs/bundler-
|
|
24
|
-
"@umijs/bundler-
|
|
23
|
+
"@umijs/bundler-webpack": "4.6.45",
|
|
24
|
+
"@umijs/bundler-utils": "4.6.45"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"father": "4.1.5"
|