UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

16 lines (15 loc) 537 B
import { createRoutesManifest } from "../server/createRoutesManifest.native.js"; import { getRoutePaths } from "../utils/routeIndex.native.js"; function getManifest(param) { var { routerRoot, ignoredRouteFiles, routePaths: routePathsIn } = param; var routePaths = routePathsIn !== null && routePathsIn !== void 0 ? routePathsIn : getRoutePaths(routerRoot, ignoredRouteFiles); return createRoutesManifest(routePaths, { platform: "web" }); } export { getManifest }; //# sourceMappingURL=getManifest.native.js.map