feat: try support LiteLoader

This commit is contained in:
手瓜一十雪
2024-05-23 16:30:29 +08:00
parent 39001d7ac5
commit 31be81d9e1
9 changed files with 52 additions and 3 deletions

10
src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_BUILD_TYPE: string
readonly VITE_BUILD_TARGE: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}