-
Notifications
You must be signed in to change notification settings - Fork 582
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
How to use it as external in webpack? #14
Comments
Use Noticeit is not released, use it in |
@HeskeyBaozi antd@3.10.0 doesn't work.
According to BundleAnalyzerPlugin analysis, '@ant-design/icons' still be packaged. |
I had a same problem. |
遇到同样的问题,就算只用一个Input,即使在wepack externals设置了antd,也会一下就把icon都打包进来了。 |
How was this resolved? Can someone help pls? I am on antd 4 and creating a component library out of antd. Even if I add it to externals in webpack, I am still seeing a lot of related code in bundle like antdesign icons and rc- stuff. Can someone help pls @afc163 |
I use antd as external in webpack. When antd version to v3.9.x, the main bundle size be added 700+kb.
Through webpack-bundle-analyzer, I found that the bundle grows caused by @ant-design/icons.
Want use the https://unpkg.com/@ant-design/icons@1.0.3 CDN.
The text was updated successfully, but these errors were encountered: