Files
brainstorming/nuxt.config.ts
Alejandro Martinez 0728211857 fix: copy better-sqlite3 native bindings to Docker runtime stage
The .node binary wasn't being copied to .output, causing 'Could not locate
the bindings file' error at runtime.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 14:23:07 +02:00

18 lines
390 B
TypeScript

export default defineNuxtConfig({
compatibilityDate: '2025-01-01',
future: { compatibilityVersion: 4 },
modules: ['@nuxt/ui'],
runtimeConfig: {
adminPassword: process.env.ADMIN_PASSWORD || 'admin',
dbPath: process.env.DB_PATH || './data/brainstorm.db',
},
nitro: {
experimental: { tasks: true },
externals: {
external: ['better-sqlite3'],
},
},
})