jsx-vue2 icon indicating copy to clipboard operation
jsx-vue2 copied to clipboard

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?

Open liangyi-h5 opened this issue 9 months ago • 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

liangyi-h5 avatar May 22 '24 03:05 liangyi-h5