-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix: 🐛 antd5 下 禁用 antd 插件开启 import=true #10525
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Size Change: +8 B (0%) Total Size: 9.56 MB
ℹ️ View Unchanged
|
Codecov ReportBase: 29.47% // Head: 29.47% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #10525 +/- ##
=======================================
Coverage 29.47% 29.47%
=======================================
Files 447 447
Lines 13104 13104
Branches 3086 3086
=======================================
Hits 3863 3863
Misses 8595 8595
Partials 646 646
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
背景:
antd 5 的包目录格式已经不符合 babel-plugin-import 的要求,开启 plugin-layout 会触发此问题。
为什么不让 antd5 支持 babel-plugin-import ,做了 benchmark
内部一个中等规模项目
因此 直接 antd 插件 禁止开启 import