Files
scrap/node_modules/next/dist/esm/build/templates/app-page.js
2024-09-24 03:52:46 +00:00

34 lines
1.1 KiB
JavaScript

"TURBOPACK { transition: next-ssr }";
import { AppPageRouteModule } from "../../server/future/route-modules/app-page/module.compiled";
import { RouteKind } from "../../server/future/route-kind";
// We inject the tree and pages here so that we can use them in the route
// module.
// INJECT:tree
// INJECT:pages
export { tree, pages };
export { default as GlobalError } from "VAR_MODULE_GLOBAL_ERROR";
// INJECT:__next_app_require__
// INJECT:__next_app_load_chunk__
export const originalPathname = "VAR_ORIGINAL_PATHNAME";
export const __next_app__ = {
require: __next_app_require__,
loadChunk: __next_app_load_chunk__
};
export * from "../../server/app-render/entry-base";
// Create and export the route module that will be consumed.
export const routeModule = new AppPageRouteModule({
definition: {
kind: RouteKind.APP_PAGE,
page: "VAR_DEFINITION_PAGE",
pathname: "VAR_DEFINITION_PATHNAME",
// The following aren't used in production.
bundlePath: "",
filename: "",
appPaths: []
},
userland: {
loaderTree: tree
}
});
//# sourceMappingURL=app-page.js.map