11 lines
350 B
TypeScript
11 lines
350 B
TypeScript
import { fileURLToPath } from 'node:url';
|
|
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } },
|
|
build: { target: 'es2022', sourcemap: false },
|
|
test: { environment: 'node' },
|
|
});
|