import * as path from "path"; import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import tailwindcss from 'tailwindcss'; import autoprefixer from 'autoprefixer'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], css: { postcss: { plugins: [ tailwindcss, autoprefixer, ], }, }, resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, server: { port: 3000, }, base: './', build: { outDir: 'build', target: 'esnext', }, esbuild: { logOverride: { 'this-is-undefined-in-esm': 'silent' }, }, });