mirror of
https://github.com/mmahdium/portfolio.git
synced 2025-12-20 09:23:54 +01:00
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: {
|
||||
crawlLinks: true,
|
||||
routes: ['/', '/blog', '/fa/blog'],
|
||||
failOnError: false,
|
||||
ignore: ['/_vercel/image']
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user