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】build-plugin-component umd模式支持dist 也起服务 #5765

Closed
younyzhu opened this issue Dec 28, 2022 · 1 comment
Closed

【RFC】build-plugin-component umd模式支持dist 也起服务 #5765

younyzhu opened this issue Dec 28, 2022 · 1 comment

Comments

@younyzhu
Copy link

需求背景

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

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

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

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

@ClarkXia
Copy link
Collaborator

ClarkXia commented Jan 3, 2023

ice-lab/icepkg#430 跟进

@ClarkXia ClarkXia closed this as completed Jan 3, 2023
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