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

// https://astro.build/config
export default defineConfig({
    output: 'server',
    adapter: node({
        mode: 'standalone'
    }),
    integrations: [
        react(),
        tailwind({
            applyBaseStyles: true,
        }),
    ],
    vite: {
        ssr: {
            noExternal: ['path-to-regexp']
        }
    }
});
