@utoo/pack 1.2.10 → 1.2.11
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/cjs/core/hmr.js +1 -1
- package/esm/core/hmr.js +1 -1
- package/package.json +9 -9
package/cjs/core/hmr.js
CHANGED
|
@@ -147,7 +147,7 @@ async function createHotReloader(bundleOptions, projectPath, rootPath) {
|
|
|
147
147
|
(resolve) => (currentEntriesHandlingResolve = resolve));
|
|
148
148
|
}
|
|
149
149
|
const assets = { js: [], css: [] };
|
|
150
|
-
await Promise.all(entrypoints.apps.map((l) => l.writeToDisk().then((res) => {
|
|
150
|
+
await Promise.all([...entrypoints.apps, ...entrypoints.libraries].map((l) => l.writeToDisk().then((res) => {
|
|
151
151
|
(0, common_1.processIssues)(res, true, true);
|
|
152
152
|
})));
|
|
153
153
|
const htmlConfigs = [
|
package/esm/core/hmr.js
CHANGED
|
@@ -139,7 +139,7 @@ export async function createHotReloader(bundleOptions, projectPath, rootPath) {
|
|
|
139
139
|
(resolve) => (currentEntriesHandlingResolve = resolve));
|
|
140
140
|
}
|
|
141
141
|
const assets = { js: [], css: [] };
|
|
142
|
-
await Promise.all(entrypoints.apps.map((l) => l.writeToDisk().then((res) => {
|
|
142
|
+
await Promise.all([...entrypoints.apps, ...entrypoints.libraries].map((l) => l.writeToDisk().then((res) => {
|
|
143
143
|
processIssues(res, true, true);
|
|
144
144
|
})));
|
|
145
145
|
const htmlConfigs = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utoo/pack",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"main": "cjs/index.js",
|
|
5
5
|
"module": "esm/index.js",
|
|
6
6
|
"types": "esm/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@babel/code-frame": "7.22.5",
|
|
41
41
|
"@swc/helpers": "0.5.15",
|
|
42
|
-
"@utoo/pack-shared": "1.2.
|
|
42
|
+
"@utoo/pack-shared": "1.2.11",
|
|
43
43
|
"@utoo/style-loader": "^1.0.0",
|
|
44
44
|
"domparser-rs": "^0.0.7",
|
|
45
45
|
"find-up": "4.1.0",
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
},
|
|
87
87
|
"repository": "git@github.com:utooland/utoo.git",
|
|
88
88
|
"optionalDependencies": {
|
|
89
|
-
"@utoo/pack-darwin-arm64": "1.2.
|
|
90
|
-
"@utoo/pack-darwin-x64": "1.2.
|
|
91
|
-
"@utoo/pack-linux-arm64-gnu": "1.2.
|
|
92
|
-
"@utoo/pack-linux-arm64-musl": "1.2.
|
|
93
|
-
"@utoo/pack-linux-x64-gnu": "1.2.
|
|
94
|
-
"@utoo/pack-linux-x64-musl": "1.2.
|
|
95
|
-
"@utoo/pack-win32-x64-msvc": "1.2.
|
|
89
|
+
"@utoo/pack-darwin-arm64": "1.2.11",
|
|
90
|
+
"@utoo/pack-darwin-x64": "1.2.11",
|
|
91
|
+
"@utoo/pack-linux-arm64-gnu": "1.2.11",
|
|
92
|
+
"@utoo/pack-linux-arm64-musl": "1.2.11",
|
|
93
|
+
"@utoo/pack-linux-x64-gnu": "1.2.11",
|
|
94
|
+
"@utoo/pack-linux-x64-musl": "1.2.11",
|
|
95
|
+
"@utoo/pack-win32-x64-msvc": "1.2.11"
|
|
96
96
|
}
|
|
97
97
|
}
|