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>
18 lines
No EOL
700 B
Text
18 lines
No EOL
700 B
Text
const nextInvalidImportErrorLoader = function() {
|
|
const { message } = this.getOptions();
|
|
const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
|
|
value: "E394",
|
|
enumerable: false,
|
|
configurable: true
|
|
});
|
|
if (process.env.NEXT_RSPACK) {
|
|
// Rspack uses miette for error formatting, which automatically includes stack
|
|
// traces in the error message. To avoid showing redundant stack information
|
|
// in the final error output, we clear the stack property.
|
|
error.stack = undefined;
|
|
}
|
|
throw error;
|
|
};
|
|
export default nextInvalidImportErrorLoader;
|
|
|
|
//# sourceMappingURL=next-invalid-import-error-loader.js.map |