import { defineConfig } from 'vite';

export default defineConfig({
  build: {
    ssr: 'src/index.js',
    outDir: 'dist',
    target: 'node18',
    rollupOptions: {
      external: ['dotenv', 'kafka-node', 'pg', 'redis']
    }
  }
});
