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

如何选择性打包antd? #1172

Closed
liaobin312716 opened this issue Mar 11, 2016 · 4 comments
Closed

如何选择性打包antd? #1172

liaobin312716 opened this issue Mar 11, 2016 · 4 comments

Comments

@liaobin312716
Copy link

现在fis不支持npm包, 我只能先打包antd,再使用。但是整体打包体积有点大,我想把基础UI和一些常用的原子组件打包的antd.core 里面,再将其他不常用的组件比如 日历 等 打包的扩展包里面,应该怎么做,没找到打包相关的文档?望解答一下,谢谢。

@afc163
Copy link
Member

afc163 commented Mar 15, 2016

也可以自行构建模块,只引入自己需要的模块。

@afc163 afc163 closed this as completed Mar 15, 2016
@liaobin312716
Copy link
Author

好的,已使用第二种方法,自行构建模块。非常感谢。

@afc163 afc163 mentioned this issue Mar 25, 2016
@lock
Copy link

lock bot commented May 6, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants