vuejs/jsx-vue2

vue2 fails to parse require("vue/package.json") in vite5, the path is wrong, does it not support esm and only supports commonjs? Or does it require special converter support?

liangyi-h5 opened this issue · 0 comments

  • vue2 fails to parse require("vue/package.json") in vite5, the path is wrong, does it not support esm and only supports commonjs? Or does it require special converter support?
  • vue2 在vite5 中解析 require("vue/package.json") 失败,路径不对,是不是不支持 esm 只支持 commonjs?还是需要特殊的转换器支持

image

demo