import { defineConfig } from 'vite'; import { fileURLToPath } from 'url'; const __dirname = fileURLToPath(new URL('.', import.meta.url)); export default defineConfig({ root: __dirname, });