Fix deployment issues: native modules, volume mapping, Nuxt 4 config
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user