mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-05 19:42:08 +08:00
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:
parent
8372de6eca
commit
bae279ed65
@ -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';
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user