-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
使用第三包时报错,not provide an export named 'default' #759
Labels
Comments
The best way is to file an issue to mockjs asking for providing ESM builds. For the general support, please track on #720. |
You also can used |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
比如使用mockjs等npm包时,由于打包后的文件是commonjs的,会出现如下错误
Uncaught SyntaxError: The requested module '/@modules/mockjs/src/mock.js' does not provide an export named 'default'
有没有好的解决方法
The text was updated successfully, but these errors were encountered: