Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
13
node_modules/next/dist/esm/server/get-page-files.js
generated
vendored
Normal file
13
node_modules/next/dist/esm/server/get-page-files.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { denormalizePagePath } from '../shared/lib/page-path/denormalize-page-path';
|
||||
import { normalizePagePath } from '../shared/lib/page-path/normalize-page-path';
|
||||
export function getPageFiles(buildManifest, page) {
|
||||
const normalizedPage = denormalizePagePath(normalizePagePath(page));
|
||||
let files = buildManifest.pages[normalizedPage];
|
||||
if (!files) {
|
||||
console.warn(`Could not find files for ${normalizedPage} in .next/build-manifest.json`);
|
||||
return [];
|
||||
}
|
||||
return files;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=get-page-files.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue