Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.3.2 package.json module 文件路径错误 #156

Open
18234175095 opened this issue Mar 22, 2024 · 3 comments
Open

V1.3.2 package.json module 文件路径错误 #156

18234175095 opened this issue Mar 22, 2024 · 3 comments

Comments

@18234175095
Copy link

V1.3.2
package.json module 文件路径错误
"./dist/index.es.js", 应该是 "./dist/index.mjs"

20240322114018

@w8532350
Copy link

vite 无法使用

@weijunfu
Copy link

weijunfu commented May 3, 2024

vite 无法使用

修改module路径就能用。但用yarn安装其它时,还要再手动改-_-

@sanshi-30
Copy link

引入的时候改成这样就可以了,打包也不会报错:import { videoPlay } from "vue3-video-play/dist/index.mjs";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants