Rocky_Mountain_Vending/.pnpm-store/v10/files/04/ecda8d16841c0e9779599797f6fd2d7656dcac1674feee0a38d720ba98304aa2300b8f8adb1827484bc97dec926fe5e56ef27782d3ba25c8251d3dd7658aa6
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

30 lines
No EOL
1.3 KiB
Text

import { PAGE_TYPES } from '../../../../lib/page-types';
import { AbsoluteFilenameNormalizer } from '../../absolute-filename-normalizer';
import { Normalizers } from '../../normalizers';
/**
* DevAppPageNormalizer is a normalizer that is used to normalize a pathname
* to a page in the `app` directory.
*/ class DevAppPageNormalizerInternal extends AbsoluteFilenameNormalizer {
constructor(appDir, extensions){
super(appDir, extensions, PAGE_TYPES.APP);
}
}
export class DevAppPageNormalizer extends Normalizers {
constructor(appDir, extensions, _isTurbopack){
const normalizer = new DevAppPageNormalizerInternal(appDir, extensions);
super(// %5F to _ replacement should only happen with Turbopack.
// TODO: enable when page matcher `/_` check is moved: https://github.com/vercel/next.js/blob/8eda00bf5999e43e8f0211bd72c981d5ce292e8b/packages/next/src/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.ts#L48
// isTurbopack
// ? [
// // The page should have the `%5F` characters replaced with `_` characters.
// new UnderscoreNormalizer(),
// normalizer,
// ]
// : [normalizer]
[
normalizer
]);
}
}
//# sourceMappingURL=app-page-normalizer.js.map