@umijs/preset-umi 4.4.13-canary.20250915.1 → 4.4.13-canary.20250915.2

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.
@@ -136,10 +136,9 @@ var registerMethods_default = (api) => {
136
136
  content.trim(),
137
137
  ""
138
138
  ].filter((text) => text !== false).join("\n");
139
- const isUtoopack = api.appData.bundler === "utoopack";
140
- if ((api.appData.vite || isUtoopack) && isJsFile) {
139
+ if (api.appData.vite && isJsFile) {
141
140
  const transformIEAR = transformModule.default;
142
- content = transformIEAR({ content, path: absPath }, api, isUtoopack);
141
+ content = transformIEAR({ content, path: absPath }, api);
143
142
  }
144
143
  if (!(0, import_fs.existsSync)(absPath)) {
145
144
  (0, import_fs.writeFileSync)(absPath, content, "utf-8");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/preset-umi",
3
- "version": "4.4.13-canary.20250915.1",
3
+ "version": "4.4.13-canary.20250915.2",
4
4
  "description": "@umijs/preset-umi",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/preset-umi#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -43,20 +43,20 @@
43
43
  "react-router": "6.3.0",
44
44
  "react-router-dom": "6.3.0",
45
45
  "regenerator-runtime": "0.13.11",
46
- "@umijs/ast": "4.4.13-canary.20250915.1",
47
- "@umijs/bundler-esbuild": "4.4.13-canary.20250915.1",
48
- "@umijs/babel-preset-umi": "4.4.13-canary.20250915.1",
49
- "@umijs/bundler-utils": "4.4.13-canary.20250915.1",
50
- "@umijs/bundler-vite": "4.4.13-canary.20250915.1",
51
- "@umijs/bundler-utoopack": "4.4.13-canary.20250915.1",
52
- "@umijs/bundler-webpack": "4.4.13-canary.20250915.1",
53
- "@umijs/core": "4.4.13-canary.20250915.1",
54
- "@umijs/mfsu": "4.4.13-canary.20250915.1",
55
- "@umijs/plugin-run": "4.4.13-canary.20250915.1",
56
- "@umijs/server": "4.4.13-canary.20250915.1",
57
- "@umijs/renderer-react": "4.4.13-canary.20250915.1",
58
- "@umijs/utils": "4.4.13-canary.20250915.1",
59
- "@umijs/zod2ts": "4.4.13-canary.20250915.1",
46
+ "@umijs/babel-preset-umi": "4.4.13-canary.20250915.2",
47
+ "@umijs/bundler-utils": "4.4.13-canary.20250915.2",
48
+ "@umijs/bundler-vite": "4.4.13-canary.20250915.2",
49
+ "@umijs/bundler-esbuild": "4.4.13-canary.20250915.2",
50
+ "@umijs/ast": "4.4.13-canary.20250915.2",
51
+ "@umijs/core": "4.4.13-canary.20250915.2",
52
+ "@umijs/bundler-utoopack": "4.4.13-canary.20250915.2",
53
+ "@umijs/plugin-run": "4.4.13-canary.20250915.2",
54
+ "@umijs/renderer-react": "4.4.13-canary.20250915.2",
55
+ "@umijs/bundler-webpack": "4.4.13-canary.20250915.2",
56
+ "@umijs/mfsu": "4.4.13-canary.20250915.2",
57
+ "@umijs/server": "4.4.13-canary.20250915.2",
58
+ "@umijs/zod2ts": "4.4.13-canary.20250915.2",
59
+ "@umijs/utils": "4.4.13-canary.20250915.2",
60
60
  "@umijs/ui": "3.0.1"
61
61
  },
62
62
  "devDependencies": {