Rocky_Mountain_Vending/.pnpm-store/v10/files/c6/bf1ab761f4342f4be4278fdabe0d69f86688361f0a9ada0c89904af31b86eeb60a105b565a4e229c2f153d82253b0aed8bf7e25b5e7800667a1d43e91b493d
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

21 lines
No EOL
794 B
Text

export async function generateBuildId(generate, fallback) {
let buildId = await generate();
// If there's no buildId defined we'll fall back
if (buildId === null) {
// We also create a new buildId if it contains the word `ad` to avoid false
// positives with ad blockers
while(!buildId || /ad/i.test(buildId)){
buildId = fallback();
}
}
if (typeof buildId !== 'string') {
throw Object.defineProperty(new Error('generateBuildId did not return a string. https://nextjs.org/docs/messages/generatebuildid-not-a-string'), "__NEXT_ERROR_CODE", {
value: "E455",
enumerable: false,
configurable: true
});
}
return buildId.trim();
}
//# sourceMappingURL=generate-build-id.js.map