Rocky_Mountain_Vending/.pnpm-store/v10/files/5b/04b1b970a427ef43780312cd62c04ec425f07b9ae77fd071418d402b59ce485bc2bb0c1df8412215cf2ab41688a9f26f135d5792ecdfc19445c52eca974471
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

15 lines
No EOL
452 B
Text

import matchBundle from './match-bundle';
// matches app/:path*.js
const APP_ROUTE_NAME_REGEX = /^app[/\\](.*)$/;
export default function getAppRouteFromEntrypoint(entryFile) {
const pagePath = matchBundle(APP_ROUTE_NAME_REGEX, entryFile);
if (typeof pagePath === 'string' && !pagePath) {
return '/';
}
if (!pagePath) {
return null;
}
return pagePath;
}
//# sourceMappingURL=get-app-route-from-entrypoint.js.map