Open 18234175095 opened 6 months ago
V1.3.2 package.json module 文件路径错误 "./dist/index.es.js", 应该是 "./dist/index.mjs"
vite 无法使用
修改module路径就能用。但用yarn安装其它时,还要再手动改-_-
引入的时候改成这样就可以了,打包也不会报错:import { videoPlay } from "vue3-video-play/dist/index.mjs";
V1.3.2 package.json module 文件路径错误 "./dist/index.es.js", 应该是 "./dist/index.mjs"