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>
12 lines
No EOL
534 B
Text
12 lines
No EOL
534 B
Text
// route handlers are only statically optimized if they define
|
|
// one of these top-level configs manually
|
|
// - dynamic = 'force-static'
|
|
// - dynamic = 'error'
|
|
// - revalidate > 0
|
|
// - revalidate = false
|
|
// - generateStaticParams
|
|
export function isStaticGenEnabled(mod) {
|
|
return mod.dynamic === 'force-static' || mod.dynamic === 'error' || mod.revalidate === false || mod.revalidate !== undefined && mod.revalidate > 0 || typeof mod.generateStaticParams == 'function';
|
|
}
|
|
|
|
//# sourceMappingURL=is-static-gen-enabled.js.map |