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: rollup warning #46024
fix: rollup warning #46024
Conversation
Run & review this pull request in StackBlitz Codeflow. |
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit c2c6194:
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #46024 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 700 700
Lines 11854 11855 +1
Branches 3161 3161
=========================================
+ Hits 11854 11855 +1 ☔ View full report in Codecov by Sentry. |
- 修复vite5 打包,ant组件组件注释位置导致Rollup 无法解释该注释出现控制台警告(ant-design/ant-design#46024)
最新的vite^5.0.5 和最新的antd^5.12.4 引入Form组件 build时还是会有一行警告“in "node_modules/rc-field-form/es/utils/validateUtil.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.” |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
resolve #46022
💡 Background and solution
📝 Changelog
invalid annotation
的问题。☑️ Self-Check before Merge
🚀 Summary
🤖[deprecated] Generated by Copilot at c2c6194
This pull request improves the code style and logic of
Card.tsx
by reordering imports and refactoring key generation.🔍 Walkthrough
🤖[deprecated] Generated by Copilot at c2c6194
getAction
function to avoid using array index and disabling eslint rule (link)