Files
WebDrop/web/vite.config.ts
T
2026-10-02 00:59:37 +08:00

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' },
});