import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
  css: {
    postcss: './postcss.config.js',
  },
  build: {
    outDir: 'dist',
  },
  base: './',
  server: {
    allowedHosts: [
      '.ghaymah.systems', '.free.pinggy.link' // Allow all subdomains of ghaymah.systems
    ]
  }
})