From 412e60753b6083a3d463648ad31a28283c7f345d Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Wed, 28 Aug 2024 21:16:37 +0800 Subject: [PATCH] Remove Vite and Vue dependencies, delete env typings for Vite --- web/package.json | 6 +----- web/src/typings/env.d.ts | 6 ------ 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 web/src/typings/env.d.ts diff --git a/web/package.json b/web/package.json index 1fd849f2..aa93d93d 100644 --- a/web/package.json +++ b/web/package.json @@ -54,7 +54,6 @@ "@types/markdown-it": "^12.2.3", "@types/node": "^18.14.6", "@types/uuid": "^9.0.8", - "@vitejs/plugin-vue": "^4.0.0", "autoprefixer": "^10.4.13", "axios": "^1.3.4", "crypto-js": "^4.1.1", @@ -68,10 +67,7 @@ "rimraf": "^4.2.0", "sass": "^1.60.0", "tailwindcss": "^3.2.7", - "typescript": "4.9.5", - "vite": "^4.1.4", - "vite-plugin-pwa": "^0.14.4", - "vue-tsc": "^1.2.0" + "typescript": "4.9.5" }, "lint-staged": { "*.{ts,tsx,vue}": [ diff --git a/web/src/typings/env.d.ts b/web/src/typings/env.d.ts deleted file mode 100644 index eb39570c..00000000 --- a/web/src/typings/env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// - -interface ImportMetaEnv { - readonly VITE_GLOB_API_TIMEOUT: string; - readonly VITE_APP_API_BASE_URL: string; -}