update Add development environment configuration, I18n support, route adjustments, and various hooks refactoring ```
16 lines
353 B
TypeScript
16 lines
353 B
TypeScript
/// <reference types="vitest" />
|
|
|
|
import legacy from '@vitejs/plugin-legacy';
|
|
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vite';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), legacy()],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: './src/setupTests.ts',
|
|
},
|
|
});
|