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

请教组件独立打包问题 #3090

Closed
rendongsc opened this issue Dec 7, 2018 · 7 comments
Closed

请教组件独立打包问题 #3090

rendongsc opened this issue Dec 7, 2018 · 7 comments

Comments

@rendongsc
Copy link

rendongsc commented Dec 7, 2018

希望新开发的通用组件以npm包方式让其他应用独立使用,该如何配置?官方的独立组件包用什么构建的?
如官方的介绍:独立使用 Pro 组件
官方独立打包是这样:
image
默认用build出来是:
image

@afc163
Copy link
Member

afc163 commented Dec 7, 2018

可以关注正在做的 umijs/umi#1550

@rendongsc
Copy link
Author

@afc163 前几天就关注,项目急需,可以说一下官方的做法吗?谢谢!

@chenshuai2144
Copy link
Collaborator

@chenshuai2144
Copy link
Collaborator

config里面有发布脚本

@xiaohuoni
Copy link
Member

他要的是 组件独立打包 不是项目打包吧

@rendongsc
Copy link
Author

是组件打包。

@xiaohuoni
Copy link
Member

@rendongsc

可以关注正在做的 umijs/umi#1550

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

4 participants