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>
15 lines
No EOL
525 B
Text
15 lines
No EOL
525 B
Text
import { PrefixPathnameNormalizer } from './prefix';
|
|
export class BasePathPathnameNormalizer extends PrefixPathnameNormalizer {
|
|
constructor(basePath){
|
|
if (!basePath || basePath === '/') {
|
|
throw Object.defineProperty(new Error('Invariant: basePath must be set and cannot be "/"'), "__NEXT_ERROR_CODE", {
|
|
value: "E154",
|
|
enumerable: false,
|
|
configurable: true
|
|
});
|
|
}
|
|
super(basePath);
|
|
}
|
|
}
|
|
|
|
//# sourceMappingURL=base-path.js.map |