Rocky_Mountain_Vending/.pnpm-store/v10/files/ba/57d5dfb602492133039829ff0e64d8ea0a63885eaf30e0b7d4ac99e75ecc3f379b658ba55a4bead2e070d495aa6165cb4f1776a9a1275582847edb521d60ac
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

33 lines
No EOL
1.1 KiB
Text

import { normalizePagePath } from '../../../../shared/lib/page-path/normalize-page-path';
import { Normalizers } from '../../normalizers';
import { PrefixingNormalizer } from '../../prefixing-normalizer';
import { wrapNormalizerFn } from '../../wrap-normalizer-fn';
export class PagesBundlePathNormalizer extends Normalizers {
constructor(){
super([
// The bundle path should have the trailing `/index` stripped from
// it.
wrapNormalizerFn(normalizePagePath),
// The page should prefixed with `pages/`.
new PrefixingNormalizer('pages')
]);
}
normalize(page) {
return super.normalize(page);
}
}
export class DevPagesBundlePathNormalizer extends Normalizers {
constructor(pagesNormalizer){
super([
// This should normalize the filename to a page.
pagesNormalizer,
// Normalize the app page to a pathname.
new PagesBundlePathNormalizer()
]);
}
normalize(filename) {
return super.normalize(filename);
}
}
//# sourceMappingURL=pages-bundle-path-normalizer.js.map