refactor: ♻️ Disable SSR, always build as static

This commit is contained in:
Jesse Wierzbinski 2024-12-04 12:53:43 +01:00
parent 650d916062
commit ca824a2a1a
No known key found for this signature in database
3 changed files with 12 additions and 19 deletions

View file

@ -9,6 +9,7 @@ export default defineNuxtConfig({
"shadcn-nuxt",
"@nuxtjs/color-mode",
],
ssr: false,
vue: {
compilerOptions: {
isCustomElement: (tag) => tag === "iconify-icon",
@ -240,7 +241,7 @@ export default defineNuxtConfig({
keepalive: true,
},
nitro: {
preset: "bun",
preset: "static",
minify: true,
prerender: {
failOnError: true,