Rocky_Mountain_Vending/.pnpm-store/v10/files/9b/d30df4cca844c8e6064df1de66ceab8dfa68a317414006fcbb0f75c9f006894af3993fd0ef0b705c7c1b772156ca9ce81977ee52ddc7026d64cb5fe2c0d738
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

25 lines
No EOL
1 KiB
Text

import { warnOnce } from '../../build/output/log';
export function getRspackCore() {
warnRspack();
try {
// eslint-disable-next-line @next/internal/typechecked-require
return require('next-rspack/rspack-core');
} catch (e) {
if (e instanceof Error && 'code' in e && e.code === 'MODULE_NOT_FOUND') {
throw Object.defineProperty(new Error('@rspack/core is not available. Please make sure `next-rspack` is correctly installed.'), "__NEXT_ERROR_CODE", {
value: "E647",
enumerable: false,
configurable: true
});
}
throw e;
}
}
function warnRspack() {
if (process.env.__NEXT_TEST_MODE) {
return;
}
warnOnce(`\`next-rspack\` is currently experimental. It's not an official Next.js plugin, and is supported by the Rspack team in partnership with Next.js. Help improve Next.js and Rspack by providing feedback at https://github.com/vercel/next.js/discussions/77800`);
}
//# sourceMappingURL=get-rspack.js.map