use rsbuild instead of vite

This commit is contained in:
2025-09-05 11:00:55 +08:00
parent 80552924df
commit 84d798c01f
21 changed files with 1342 additions and 1098 deletions

13
src/env.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
/// <reference types="@rsbuild/core/types" />
interface ImportMetaEnv {
readonly PUBLIC_MAXKB_URL: string
readonly PUBLIC_OJ_URL: string
readonly PUBLIC_CODE_URL: string
readonly PUBLIC_JUDGE0_URL: string
readonly PUBLIC_ICONIFY_URL: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}