Skip to content

Commit

Permalink
Try to Fix Vercel Build (#133)
Browse files Browse the repository at this point in the history
* update deps

* what happens if we ignore /api pages for prerendering?

* test concurrency

* test build cache and shared prerender data to speed build
  • Loading branch information
bryantgillespie authored Jan 27, 2025
1 parent bd394f5 commit 1143edb
Show file tree
Hide file tree
Showing 3 changed files with 2,489 additions and 1,444 deletions.
9 changes: 9 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ export default defineNuxtConfig({
compatibilityVersion: 4,
},

experimental: {
buildCache: true,
sharedPrerenderData: true,
},

compatibilityDate: '2024-11-01',

nitro: {
Expand All @@ -109,6 +114,10 @@ export default defineNuxtConfig({
// I can't for the life of me figure out where this magic </span link comes from
// ~ Rijk 12/19/2024
ignore: ['/docs/api/</span'],

concurrency: 3,
retry: 2,
retryDelay: 1000,
},
},

Expand Down
35 changes: 18 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,30 @@
},
"dependencies": {
"@directus/openapi": "0.1.0",
"@docsearch/css": "3.8.2",
"@docsearch/js": "3.8.2",
"@docsearch/css": "3.8.3",
"@docsearch/js": "3.8.3",
"@iconify-json/heroicons-outline": "1.2.1",
"@iconify-json/material-symbols": "1.2.12",
"@iconify-json/simple-icons": "1.2.17",
"@iconify-json/simple-icons": "1.2.21",
"@nuxt/content": "2.13.4",
"@nuxt/eslint": "0.7.4",
"@nuxt/scripts": "0.9.5",
"@nuxt/ui-pro": "1.6.0",
"@nuxt/ui-pro": "1.7.0",
"@nuxtjs/algolia": "1.10.2",
"@nuxtjs/color-mode": "3.5.2",
"@nuxtjs/seo": "2.0.2",
"@nuxtjs/tailwindcss": "6.12.2",
"@types/lodash-es": "4.17.12",
"@vueuse/core": "12.2.0",
"@vueuse/nuxt": "12.2.0",
"@nuxtjs/seo": "2.1.0",
"@vueuse/core": "12.4.0",
"@vueuse/nuxt": "12.4.0",
"lodash-es": "4.17.21",
"nuxt": "3.14.1592",
"nuxt": "3.15.2",
"nuxt-posthog": "1.6.1",
"openapi3-ts": "4.4.0",
"typescript": "5.7.2",
"ufo": "1.5.4",
"vue": "latest",
"vue-router": "latest"
}
"ufo": "1.5.4"
},
"devDependencies": {
"@nuxt/eslint": "0.7.5",
"@nuxt/scripts": "0.9.5",
"@nuxtjs/tailwindcss": "6.13.1",
"@types/lodash-es": "4.17.12",
"typescript": "5.7.3"
},
"packageManager": "[email protected]+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
}
Loading

0 comments on commit 1143edb

Please sign in to comment.