@e7w/easy-routes 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -456,11 +456,12 @@ filePaths.forEach((filePath) => {
456
456
  if (finished1 && finished2) break;
457
457
  }
458
458
  });
459
- obj["/"].errorElement = /* @__PURE__ */ jsx(ErrorBoundary, {});
460
459
  routes.push({
461
460
  path: "/",
462
461
  element: /* @__PURE__ */ jsx(ProgressLayout, {}),
463
- children: [obj["/"]]
462
+ children: [obj["/"]],
463
+ errorElement: /* @__PURE__ */ jsx(ErrorBoundary, {}),
464
+ hydrateFallbackElement: /* @__PURE__ */ jsx(Loading, {})
464
465
  });
465
466
  routes.push({
466
467
  path: "*",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e7w/easy-routes",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"