@ilha/router 0.8.0 → 0.8.1

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.
@@ -1,4 +1,4 @@
1
- export { wrapLayout, wrapError, type LayoutHandler, type ErrorHandler, type RouteSnapshot, type AppError, } from "./index";
1
+ export type { LayoutHandler, ErrorHandler, RouteSnapshot, AppError } from "./index";
2
2
  export { ilhaPages, type IlhaPagesOptions } from "./plugin";
3
3
  import { type IlhaPagesOptions } from "./plugin";
4
4
  /** Rolldown plugin — use via `@ilha/router/rolldown`. */
package/dist/rolldown.js CHANGED
@@ -1 +1 @@
1
- import{A as e,k as t}from"./src-8LBo_Ieg.js";import{t as n}from"./plugin-BW2tnuyF.js";function r(e={}){return n.rolldown(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
1
+ import{t as e}from"./plugin-BW2tnuyF.js";function t(t={}){return e.rolldown(t)}export{e as ilhaPages,t as pages};
package/dist/rspack.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { wrapLayout, wrapError, type LayoutHandler, type ErrorHandler, type RouteSnapshot, type AppError, } from "./index";
1
+ export type { LayoutHandler, ErrorHandler, RouteSnapshot, AppError } from "./index";
2
2
  export { ilhaPages, type IlhaPagesOptions } from "./plugin";
3
3
  import { type IlhaPagesOptions } from "./plugin";
4
4
  /** Rspack plugin — use via `@ilha/router/rspack`. */
package/dist/rspack.js CHANGED
@@ -1 +1 @@
1
- import{A as e,k as t}from"./src-8LBo_Ieg.js";import{t as n}from"./plugin-BW2tnuyF.js";function r(e={}){return n.rspack(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
1
+ import{t as e}from"./plugin-BW2tnuyF.js";function t(t={}){return e.rspack(t)}export{e as ilhaPages,t as pages};
package/dist/vite.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Plugin } from "vite";
2
- export { wrapLayout, wrapError, type LayoutHandler, type ErrorHandler, type RouteSnapshot, type AppError, } from "./index";
2
+ export type { LayoutHandler, ErrorHandler, RouteSnapshot, AppError } from "./index";
3
3
  export { ilhaPages, type IlhaPagesOptions } from "./plugin";
4
4
  import { type IlhaPagesOptions } from "./plugin";
5
5
  /** Vite plugin — use via `@ilha/router/vite`. */
package/dist/vite.js CHANGED
@@ -1 +1 @@
1
- import{A as e,k as t}from"./src-8LBo_Ieg.js";import{t as n}from"./plugin-BW2tnuyF.js";function r(e={}){return n.vite(e)}export{n as ilhaPages,r as pages,t as wrapError,e as wrapLayout};
1
+ import{t as e}from"./plugin-BW2tnuyF.js";function t(t={}){return e.vite(t)}export{e as ilhaPages,t as pages};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilha/router",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "A tiny SPA router for Ilha",
5
5
  "keywords": [
6
6
  "frontend",