@umijs/bundler-utoopack 4.6.2 → 4.6.4
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/index.js +2 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -186,7 +186,7 @@ async function dev(opts) {
|
|
|
186
186
|
);
|
|
187
187
|
stats = JSON.parse(import_fs.default.readFileSync(statsPath, "utf-8"));
|
|
188
188
|
} catch (e) {
|
|
189
|
-
throw new Error("
|
|
189
|
+
throw new Error("File stats.json not found by utoopack dev");
|
|
190
190
|
}
|
|
191
191
|
stats.hasErrors = () => false;
|
|
192
192
|
stats.toJson = () => stats;
|
|
@@ -203,8 +203,7 @@ async function dev(opts) {
|
|
|
203
203
|
};
|
|
204
204
|
try {
|
|
205
205
|
await utooPackServe(utooPackConfig, cwd, rootDir, {
|
|
206
|
-
port: utooServePort
|
|
207
|
-
hostname: opts.host
|
|
206
|
+
port: utooServePort
|
|
208
207
|
});
|
|
209
208
|
const stats = createStatsObject();
|
|
210
209
|
await (onDevCompileDone == null ? void 0 : onDevCompileDone({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-utoopack",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.4",
|
|
4
4
|
"description": "@umijs/bundler-utoopack",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@utoo/pack": "1.0.
|
|
11
|
+
"@utoo/pack": "1.0.3",
|
|
12
12
|
"compression": "^1.7.4",
|
|
13
13
|
"connect-history-api-fallback": "^2.0.0",
|
|
14
14
|
"cors": "^2.8.5",
|
|
15
15
|
"express": "^4.18.2",
|
|
16
16
|
"express-http-proxy": "^2.1.1",
|
|
17
|
-
"@umijs/bundler-utils": "4.6.
|
|
18
|
-
"@umijs/bundler-webpack": "4.6.
|
|
17
|
+
"@umijs/bundler-utils": "4.6.4",
|
|
18
|
+
"@umijs/bundler-webpack": "4.6.4"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"father": "4.1.5"
|