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>
18 lines
390 B
TypeScript
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'],
|
|
},
|
|
},
|
|
})
|