fix: 🐛 移除devtools插件,已知插件最新版本7.4.6不兼容node的21.0.0

This commit is contained in:
ray
2024-10-15 10:24:49 +08:00
parent 5478b37cf4
commit 6a0341323c
3 changed files with 1 additions and 584 deletions

View File

@@ -18,13 +18,6 @@ import {
devDependencies,
} from "./package.json";
/**
* Vite 插件Vue Devtools
*
* @see https://devtools-next.vuejs.org
*/
import VueDevTools from "vite-plugin-vue-devtools";
// 平台的名称、版本、运行所需的`node`版本、依赖、构建时间的类型提示
const __APP_INFO__ = {
pkg: { name, version, engines, dependencies, devDependencies },
@@ -122,9 +115,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
iconDirs: [resolve(pathSrc, "assets/icons")],
symbolId: "icon-[dir]-[name]",
}),
VueDevTools({
openInEditorHost: `http://localhost:${env.VITE_APP_PORT}`,
}),
],
// 预加载项目必需的组件
optimizeDeps: {