Rocky_Mountain_Vending/.pnpm-store/v10/files/35/e8db2af2c2011cf3c2c0c596e58269192aef3495fc31018b6d23b85dd978d75ba4850a55de0836d0642a6345879660b19261180368397f9aec30ca514cc41e
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

32 lines
No EOL
1.1 KiB
Text

import { Normalizers } from '../../normalizers';
import { PrefixingNormalizer } from '../../prefixing-normalizer';
import { normalizePagePath } from '../../../../shared/lib/page-path/normalize-page-path';
import { UnderscoreNormalizer } from '../../underscore-normalizer';
export class AppBundlePathNormalizer extends PrefixingNormalizer {
constructor(){
super('app');
}
normalize(page) {
return super.normalize(normalizePagePath(page));
}
}
export class DevAppBundlePathNormalizer extends Normalizers {
constructor(pageNormalizer, isTurbopack){
const normalizers = [
// This should normalize the filename to a page.
pageNormalizer,
// Normalize the app page to a pathname.
new AppBundlePathNormalizer()
];
// %5F to _ replacement should only happen with Turbopack.
if (isTurbopack) {
normalizers.unshift(new UnderscoreNormalizer());
}
super(normalizers);
}
normalize(filename) {
return super.normalize(filename);
}
}
//# sourceMappingURL=app-bundle-path-normalizer.js.map