@umijs/bundler-utoopack 4.4.13-canary.20250910.1 → 4.4.13-canary.20250911.1
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 +4 -1
- package/dist/index.js +2 -0
- package/package.json +3 -3
package/dist/config.js
CHANGED
|
@@ -96,7 +96,10 @@ async function getProdUtooPackConfig(opts) {
|
|
|
96
96
|
},
|
|
97
97
|
optimization: {
|
|
98
98
|
...utooBundlerOpts.config.optimization,
|
|
99
|
-
modularizeImports
|
|
99
|
+
modularizeImports,
|
|
100
|
+
concatenateModules: true
|
|
101
|
+
// minify: false,
|
|
102
|
+
// moduleIds: 'named'
|
|
100
103
|
},
|
|
101
104
|
styles: {
|
|
102
105
|
less: {
|
package/dist/index.js
CHANGED
|
@@ -49,6 +49,7 @@ async function build(opts) {
|
|
|
49
49
|
var _a;
|
|
50
50
|
const { cwd, onBuildComplete } = opts;
|
|
51
51
|
const utooPackConfig = await (0, import_config.getProdUtooPackConfig)(opts);
|
|
52
|
+
console.log("utooPackConfig: ", JSON.stringify(utooPackConfig, null, 2));
|
|
52
53
|
const rootDir = (0, import_pack.findRootDir)(cwd);
|
|
53
54
|
const { build: utooPackBuild } = require("@utoo/pack");
|
|
54
55
|
try {
|
|
@@ -87,6 +88,7 @@ async function dev(opts) {
|
|
|
87
88
|
throw new Error("opts should be supplied");
|
|
88
89
|
}
|
|
89
90
|
const utooPackConfig = await (0, import_config.getDevUtooPackConfig)(opts);
|
|
91
|
+
console.log("utooPackConfig: ", JSON.stringify(utooPackConfig, null, 2));
|
|
90
92
|
const rootDir = (0, import_pack.findRootDir)(cwd);
|
|
91
93
|
const app = (0, import_express.default)();
|
|
92
94
|
const cors = require("cors");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-utoopack",
|
|
3
|
-
"version": "4.4.13-canary.
|
|
3
|
+
"version": "4.4.13-canary.20250911.1",
|
|
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
|
-
"@umijs/bundler-utils": "4.4.13-canary.
|
|
11
|
+
"@umijs/bundler-utils": "4.4.13-canary.20250911.1",
|
|
12
12
|
"@utoo/pack": "0.0.1-alpha.46",
|
|
13
13
|
"compression": "^1.7.4",
|
|
14
14
|
"connect-history-api-fallback": "^2.0.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"express": "^4.18.2",
|
|
17
17
|
"express-http-proxy": "^2.1.1",
|
|
18
18
|
"find-up": "5.0.0",
|
|
19
|
-
"@umijs/bundler-webpack": "4.4.13-canary.
|
|
19
|
+
"@umijs/bundler-webpack": "4.4.13-canary.20250911.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"father": "4.1.5"
|