-
Notifications
You must be signed in to change notification settings - Fork 25
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
如何配置需要包含到打包结果中的第三方包? #4
Comments
我不确定说的 |
现在我是通过 |
我尝试在开发期通过 ESModule transform to CommonJs 解决了这个问题 😁 |
正常模式下使用
require
可以引用第三方包,但是在构建后并没有node_modules
目录包含第三方模块,所以打包后启动报错。请问有什么好的解决方法么?
The text was updated successfully, but these errors were encountered: