Rocky_Mountain_Vending/.pnpm-store/v10/files/c4/321d0072bbaf81cc4bf3398edd6dc32f3f29e1c394b83fd14aab4611ea7491aa73b51800fd3327cf9b343a238bbba6221e6c5e7431f87027430b12da2149b6
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

8 lines
No EOL
408 B
Text

// Translates a logical route into its pages asset path (relative from a common prefix)
// "asset path" being its javascript file, data file, prerendered html,...
export default function getAssetPathFromRoute(route, ext = '') {
const path = route === '/' ? '/index' : /^\/index(\/|$)/.test(route) ? `/index${route}` : route;
return path + ext;
}
//# sourceMappingURL=get-asset-path-from-route.js.map