/* eslint-disable import/no-extraneous-dependencies */ /// /// import react from '@vitejs/plugin-react-swc'; import { defineConfig } from 'vite'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], server: { watch: { usePolling: true, }, host: true, // needed for the Docker Container port mapping to work strictPort: true, port: 3000, hmr: { //port: 3010, host: 'localhost' }, }, test: { globals: true, environment: 'jsdom', setupFiles: ['./src/setupTests.ts'], }, });