mirror of
https://github.com/mmahdium/portfolio.git
synced 2026-09-30 11:31:42 +03:30
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:
@@ -175,6 +175,8 @@ export default defineNuxtConfig({
|
|||||||
prerender: {
|
prerender: {
|
||||||
crawlLinks: true,
|
crawlLinks: true,
|
||||||
routes: ['/', '/blog', '/fa/blog'],
|
routes: ['/', '/blog', '/fa/blog'],
|
||||||
|
failOnError: false,
|
||||||
|
ignore: ['/_vercel/image']
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user