@astroscope/boot 0.2.2 → 0.2.3
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/warmup.cjs +4 -1
- package/dist/warmup.js +4 -1
- package/package.json +1 -1
package/dist/warmup.cjs
CHANGED
|
@@ -61,7 +61,10 @@ async function warmup() {
|
|
|
61
61
|
const absolutePath = (0, import_node_path.resolve)(serverDir, mod);
|
|
62
62
|
return (0, import_node_url.pathToFileURL)(absolutePath).href;
|
|
63
63
|
});
|
|
64
|
-
const results = await Promise.allSettled(resolvedModules.map((mod) => import(
|
|
64
|
+
const results = await Promise.allSettled(resolvedModules.map((mod) => import(
|
|
65
|
+
/* @vite-ignore */
|
|
66
|
+
mod
|
|
67
|
+
)));
|
|
65
68
|
const success = [];
|
|
66
69
|
const failed = [];
|
|
67
70
|
for (let i = 0; i < results.length; i++) {
|
package/dist/warmup.js
CHANGED
|
@@ -36,7 +36,10 @@ async function warmup() {
|
|
|
36
36
|
const absolutePath = resolve(serverDir, mod);
|
|
37
37
|
return pathToFileURL(absolutePath).href;
|
|
38
38
|
});
|
|
39
|
-
const results = await Promise.allSettled(resolvedModules.map((mod) => import(
|
|
39
|
+
const results = await Promise.allSettled(resolvedModules.map((mod) => import(
|
|
40
|
+
/* @vite-ignore */
|
|
41
|
+
mod
|
|
42
|
+
)));
|
|
40
43
|
const success = [];
|
|
41
44
|
const failed = [];
|
|
42
45
|
for (let i = 0; i < results.length; i++) {
|