fix: 🐛 使用vite-plugin-vue-setup-extend 导致sourceMap 失效问题

vite-plugin-vue-setup-extend, SourceMap转换bug一直存在导致调试位置异常,
所以使用vite-plugin-vue-setup-extend-plus替代达到同样目的
This commit is contained in:
w 2023-04-29 12:48:49 +08:00
parent 8372de6eca
commit bae279ed65
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
import type { PluginOption } from 'vite';
import vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx';
import vueSetupExtend from 'vite-plugin-vue-setup-extend';
import vueSetupExtend from 'vite-plugin-vue-setup-extend-plus';
import { ConfigSvgIconsPlugin } from './svgIcons';
import { AutoRegistryComponents } from './component';
import { AutoImportDeps } from './autoImport';

View File

@ -77,7 +77,7 @@
"vite-plugin-progress": "^0.0.7",
"vite-plugin-restart": "^0.3.1",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vite-plugin-vue-setup-extend-plus": "^0.1.0",
"vitest": "^0.30.1",
"vue-eslint-parser": "^9.1.1",
"vue-tsc": "^1.2.0"