Files
Webklar.com/node_modules/next/dist/esm/build/templates/app-page.js
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

36 lines
1.3 KiB
JavaScript

// @ts-ignore this need to be imported from next/dist to be external
import * as module from "next/dist/server/future/route-modules/app-page/module.compiled";
import { RouteKind } from "../../server/future/route-kind";
const AppPageRouteModule = module.AppPageRouteModule;
// We inject the tree and pages here so that we can use them in the route
// module.
// INJECT:tree
// INJECT:pages
export { tree, pages };
// @ts-expect-error - replaced by webpack/turbopack loader
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