import { defineConfig } from 'astro/config';
import node from '@astrojs/node';

export default defineConfig({
  output: 'server',
  adapter: node({ mode: 'standalone' }),
  vite: {
    optimizeDeps: { exclude: ['better-sqlite3'] },
    ssr: { external: ['better-sqlite3'] },
  },
});
