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>
54 lines
No EOL
1.7 KiB
Text
54 lines
No EOL
1.7 KiB
Text
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
0 && (module.exports = {
|
|
AppBundlePathNormalizer: null,
|
|
DevAppBundlePathNormalizer: null
|
|
});
|
|
function _export(target, all) {
|
|
for(var name in all)Object.defineProperty(target, name, {
|
|
enumerable: true,
|
|
get: all[name]
|
|
});
|
|
}
|
|
_export(exports, {
|
|
AppBundlePathNormalizer: function() {
|
|
return AppBundlePathNormalizer;
|
|
},
|
|
DevAppBundlePathNormalizer: function() {
|
|
return DevAppBundlePathNormalizer;
|
|
}
|
|
});
|
|
const _normalizers = require("../../normalizers");
|
|
const _prefixingnormalizer = require("../../prefixing-normalizer");
|
|
const _normalizepagepath = require("../../../../shared/lib/page-path/normalize-page-path");
|
|
const _underscorenormalizer = require("../../underscore-normalizer");
|
|
class AppBundlePathNormalizer extends _prefixingnormalizer.PrefixingNormalizer {
|
|
constructor(){
|
|
super('app');
|
|
}
|
|
normalize(page) {
|
|
return super.normalize((0, _normalizepagepath.normalizePagePath)(page));
|
|
}
|
|
}
|
|
class DevAppBundlePathNormalizer extends _normalizers.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.UnderscoreNormalizer());
|
|
}
|
|
super(normalizers);
|
|
}
|
|
normalize(filename) {
|
|
return super.normalize(filename);
|
|
}
|
|
}
|
|
|
|
//# sourceMappingURL=app-bundle-path-normalizer.js.map |