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>
16 lines
No EOL
561 B
Text
16 lines
No EOL
561 B
Text
import { relative } from 'path';
|
|
import { SimpleWebpackError } from './simpleWebpackError';
|
|
import { getAppLoader } from '../../../entries';
|
|
export function getNextAppLoaderError(err, module, compiler) {
|
|
try {
|
|
if (!module.loaders[0].loader.includes(getAppLoader())) {
|
|
return false;
|
|
}
|
|
const file = relative(compiler.context, module.buildInfo.route.absolutePagePath);
|
|
return new SimpleWebpackError(file, err.message);
|
|
} catch {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
//# sourceMappingURL=parseNextAppLoaderError.js.map |