You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{VNode}from'vue';//The `VNode` is a type exported by `vue`export{VNode};
The esbuild output is same as input(above code). The VNode should exclude inside output.
I transform code by use js api, like this await service.transform(src, options).
I realized this caused by the esbuild is lack of some type information from vue and mark VNode is a variable. But I don't konw how pass into esbuild.Hope get your some help for this.
Description
The
esbuild
output is same as input(above code). TheVNode
should exclude inside output.I transform code by use js api, like this
await service.transform(src, options)
.I realized this caused by the
esbuild
is lack of some type information fromvue
and markVNode
is a variable. But I don't konw how pass intoesbuild
.Hope get your some help for this.The original issue is here vitejs/vite#731
The text was updated successfully, but these errors were encountered: