Rocky_Mountain_Vending/.pnpm-store/v10/files/8c/8d2495739316aa244248550cbe624131ab4abaee1d64d2241e5a4d32e47c635ad13607c99210e168c89872cf9665df0cca5a854c4279e30c251a85524cba42
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

40 lines
No EOL
1.1 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "getPagePaths", {
enumerable: true,
get: function() {
return getPagePaths;
}
});
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
const _denormalizepagepath = require("./denormalize-page-path");
const _path = /*#__PURE__*/ _interop_require_default._(require("../isomorphic/path"));
function getPagePaths(normalizedPagePath, extensions, isAppDir) {
const page = (0, _denormalizepagepath.denormalizePagePath)(normalizedPagePath);
let prefixes;
if (isAppDir) {
prefixes = [
page
];
} else if (normalizedPagePath.endsWith('/index')) {
prefixes = [
_path.default.join(page, 'index')
];
} else {
prefixes = [
page,
_path.default.join(page, 'index')
];
}
const paths = [];
for (const extension of extensions){
for (const prefix of prefixes){
paths.push(`${prefix}.${extension}`);
}
}
return paths;
}
//# sourceMappingURL=get-page-paths.js.map