fix: 🐛 移除devtools插件,已知插件最新版本7.4.6不兼容node的21.0.0
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user