/// import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import { version } from './package.json'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], define: { // Injected at build time, used as the Sentry `release` tag (see src/main.tsx). __APP_VERSION__: JSON.stringify(version), }, test: { environment: 'jsdom', globals: true, setupFiles: './src/test/setup.ts', css: true, }, });