Rocky_Mountain_Vending/.pnpm-store/v10/files/30/cccbe9e524569d63e6c7b36d14afd9d2dbf08357f6deb7a34fcb75819ce30dc3c70909c7a53a8a48f29f9c4e9a3901bdf8fbd4f2b71726bdbe3ea05e4a433b
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

24 lines
No EOL
881 B
Text

import path from 'path';
/**
* This loader is to create special re-exports from a specific file.
* For example, the following loader:
*
* modularize-import-loader?name=Arrow&from=Arrow&as=default&join=./icons/Arrow!lucide-react
*
* will be used to create a re-export of:
*
* export { Arrow as default } from "join(resolve_path('lucide-react'), '/icons/Arrow')"
*
* This works even if there's no export field in the package.json of the package.
*/ export default function transformSource() {
const { name, from, as, join } = this.getOptions();
const { resourcePath } = this;
const fullPath = join ? path.join(path.dirname(resourcePath), join) : resourcePath;
return `
export {
${from === 'default' ? 'default' : name} as ${as === 'default' ? 'default' : name}
} from ${JSON.stringify(fullPath)}
`;
}
//# sourceMappingURL=modularize-import-loader.js.map