vite-plugin-vue-inspector
vite-plugin-vue-inspector copied to clipboard
Replace error
https://github.com/webfansplz/vite-plugin-vue-inspector/blob/48dc0afae6dbbb2d5209be55c7c47b82d538272f/packages/core/src/index.ts#L242-L258
before:
import { createTextVNode as _createTextVNode2, createVNode as _createVNode2, resolveComponent as _resolveComponent2 } from "vue";
after:
...
function _createVNode(...args) { return _interopVNode(__createVNode(...args)) }
...
import { createTextVNode as _createTextVNode2, 2, resolveComponent as _resolveComponent2 } from "vue";
可能是由于对于部分组件文件使用jsx,导致的打包时重复引入,对于_createVNode2的别名情况未处理