@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 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(mod)));
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(mod)));
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++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astroscope/boot",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Startup and graceful shutdown hooks for Astro SSR",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",