fix(config): Update Nuxt prerender configuration for Vercel

- Add `failOnError: false` to prevent build failures
- Ignore Vercel image optimization routes during prerendering
- Improve static site generation stability for blog routes
This commit is contained in:
mahdiarghyani
2025-11-11 13:36:41 +03:30
parent f964c71608
commit 56f6a11285

View File

@@ -175,6 +175,8 @@ export default defineNuxtConfig({
prerender: {
crawlLinks: true,
routes: ['/', '/blog', '/fa/blog'],
failOnError: false,
ignore: ['/_vercel/image']
},
},