修复 build 问题

This commit is contained in:
DrSmoothl
2026-02-19 18:56:49 +08:00
parent 79871100be
commit 6a54a796f1
11 changed files with 9857 additions and 209 deletions

View File

@@ -1,4 +1,3 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
@@ -6,11 +5,6 @@ import path from 'path'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
test: {
globals: true,
environment: 'jsdom',
setupFiles: './src/test/setup.ts',
},
server: {
port: 7999,
proxy: {