// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';

export default defineConfig({
  vite: {
    plugins: [tailwindcss()],
    server: {
      host: true,  // Listen on all addresses
      allowedHosts: true  // Allow all hostnames
    }
  },
  // Preview server configuration
  preview: {
    host: true,
    allowedHosts: true
  }
});
