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

[RFC] ice-pkg umd模式支持 dist 起服务 #430

Open
ClarkXia opened this issue Jan 3, 2023 · 1 comment
Open

[RFC] ice-pkg umd模式支持 dist 起服务 #430

ClarkXia opened this issue Jan 3, 2023 · 1 comment

Comments

@ClarkXia
Copy link
Contributor

ClarkXia commented Jan 3, 2023

需求背景

icestark 推荐用build-scripts框架来启动微模块,然后被icestark微模块使用。

微模块加载器通过加载 http://${url}/index.js 来加载微模块资源

大部分情况下,在线上或者预发环境 想直接调试和开发本地代码。
由于当前build-plugin-component 打包出来umd是 dist 文件目录,但不会启动服务,服务被占用了demo.

建议另外启动一个dist文件的server,譬如:http://127.0.0.1:3334/

@lxzy-yun
Copy link

请问这个起 dist 服务有方案吗?

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

2 participants