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>
22 lines
No EOL
1 KiB
Text
22 lines
No EOL
1 KiB
Text
import { DevPagesBundlePathNormalizer, PagesBundlePathNormalizer } from './pages-bundle-path-normalizer';
|
|
import { PagesFilenameNormalizer } from './pages-filename-normalizer';
|
|
import { DevPagesPageNormalizer } from './pages-page-normalizer';
|
|
import { DevPagesPathnameNormalizer } from './pages-pathname-normalizer';
|
|
export class PagesNormalizers {
|
|
constructor(distDir){
|
|
this.filename = new PagesFilenameNormalizer(distDir);
|
|
this.bundlePath = new PagesBundlePathNormalizer();
|
|
// You'd think that we'd require a `pathname` normalizer here, but for
|
|
// `/pages` we have to handle i18n routes, which means that we need to
|
|
// analyze the page path to determine the locale prefix and it's locale.
|
|
}
|
|
}
|
|
export class DevPagesNormalizers {
|
|
constructor(pagesDir, extensions){
|
|
this.page = new DevPagesPageNormalizer(pagesDir, extensions);
|
|
this.pathname = new DevPagesPathnameNormalizer(pagesDir, extensions);
|
|
this.bundlePath = new DevPagesBundlePathNormalizer(this.page);
|
|
}
|
|
}
|
|
|
|
//# sourceMappingURL=index.js.map |