Fix deployment issues: native modules, volume mapping, Nuxt 4 config

This commit is contained in:
2025-10-01 21:41:13 -04:00
parent 34f88316ff
commit fe4394241e
4 changed files with 18 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: false },
modules: [
'@nuxt/ui'
@@ -20,15 +21,9 @@ export default defineNuxtConfig({
wasm: true
},
externals: {
external: ['tailwindcss', 'tailwindcss/colors']
}
},
vite: {
build: {
rollupOptions: {
external: ['better-sqlite3', 'path', 'fs', 'crypto', 'bcryptjs']
}
}
inline: ['better-sqlite3']
},
moduleSideEffects: ['better-sqlite3']
},
app: {
head: {