// frontend/vite.config.js import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import path from 'path' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], test: { globals: true, environment: 'jsdom', setupFiles: './vitest.setup.js', css: true, }, resolve: { alias: { // This ensures that /vite.svg points to the public folder correctly "/": path.resolve(__dirname, "./public"), }, }, })