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

ScriptExternalLoadError: Loading script failed #5

Closed
oraclexudehua opened this issue Dec 8, 2021 · 0 comments
Closed

ScriptExternalLoadError: Loading script failed #5

oraclexudehua opened this issue Dec 8, 2021 · 0 comments

Comments

@oraclexudehua
Copy link

oraclexudehua commented Dec 8, 2021

npm run build
dist 目录产物,部署时不可以使用。是不是打包的时候需要使用额外的webpack配置。
ScriptExternalLoadError: Loading script failed.
好像是产品环境下,还是使用msfu的相关js
构建环境下需要将mfsu中的相关js手动移入dist包中,没仔细看文档😂,问题已解决
https://umijs.org/zh-CN/docs/mfsu

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

1 participant