Rocky_Mountain_Vending/.pnpm-store/v10/files/e8/4b246320eb910225cf3cc28e7419550561d58996d6a9e15727766456535484f0a42b3990c43e122d4e74948bbaaf3b72a46de92d777ad36447e25dd7df3a6f
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

1 line
No EOL
1.4 KiB
Text

{"version":3,"sources":["../../src/server/get-route-from-entrypoint.ts"],"sourcesContent":["import getAppRouteFromEntrypoint from './get-app-route-from-entrypoint'\nimport matchBundle from './match-bundle'\n\n// matches pages/:page*.js\nconst SERVER_ROUTE_NAME_REGEX = /^pages[/\\\\](.*)$/\n\n// matches static/pages/:page*.js\nconst BROWSER_ROUTE_NAME_REGEX = /^static[/\\\\]pages[/\\\\](.*)$/\n\nexport default function getRouteFromEntrypoint(\n entryFile: string,\n app?: boolean\n): string | null {\n let pagePath = matchBundle(SERVER_ROUTE_NAME_REGEX, entryFile)\n\n if (pagePath) {\n return pagePath\n }\n\n if (app) {\n pagePath = getAppRouteFromEntrypoint(entryFile)\n if (pagePath) return pagePath\n }\n\n // Potentially the passed item is a browser bundle so we try to match that also\n return matchBundle(BROWSER_ROUTE_NAME_REGEX, entryFile)\n}\n"],"names":["getAppRouteFromEntrypoint","matchBundle","SERVER_ROUTE_NAME_REGEX","BROWSER_ROUTE_NAME_REGEX","getRouteFromEntrypoint","entryFile","app","pagePath"],"mappings":"AAAA,OAAOA,+BAA+B,kCAAiC;AACvE,OAAOC,iBAAiB,iBAAgB;AAExC,0BAA0B;AAC1B,MAAMC,0BAA0B;AAEhC,iCAAiC;AACjC,MAAMC,2BAA2B;AAEjC,eAAe,SAASC,uBACtBC,SAAiB,EACjBC,GAAa;IAEb,IAAIC,WAAWN,YAAYC,yBAAyBG;IAEpD,IAAIE,UAAU;QACZ,OAAOA;IACT;IAEA,IAAID,KAAK;QACPC,WAAWP,0BAA0BK;QACrC,IAAIE,UAAU,OAAOA;IACvB;IAEA,+EAA+E;IAC/E,OAAON,YAAYE,0BAA0BE;AAC/C","ignoreList":[0]}