Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
No EOL
547 B
Text
13 lines
No EOL
547 B
Text
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 |