vite-plugin-vue-inspector icon indicating copy to clipboard operation
vite-plugin-vue-inspector copied to clipboard

Replace error

Open lif3ng opened this issue 1 year ago • 0 comments

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的别名情况未处理

lif3ng avatar Dec 31 '23 05:12 lif3ng