-
Notifications
You must be signed in to change notification settings - Fork 108
feat: pass umi config mako #1394
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
Conversation
|
Warning Rate limit exceeded@xiaohuoni has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 13 minutes and 34 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Walkthrough这次更改主要集中在增强对 Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- packages/bundler-mako/index.js (4 hunks)
Additional comments not posted (3)
packages/bundler-mako/index.js (3)
241-256: 代码更改:支持新的mako配置键这些更改添加了对
mako配置键的支持和验证,确保umi配置中的键在mako中是受支持的。
460-463: 代码更改:包含mako配置这些更改确保
opts.config中的mako配置被包含在返回的makoConfig对象中。
628-628: 代码更改:展开并包含mako配置这些更改确保返回的
makoConfig对象包含所有的mako配置。
sorrycc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1、analyze 的改动被覆盖了
2、umi 那边需要有个联动的 pr,增加 mako 配置并提供类型和文档
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- packages/bundler-mako/index.js (4 hunks)
Files skipped from review as they are similar to previous changes (1)
- packages/bundler-mako/index.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- packages/bundler-mako/index.js (3 hunks)
Additional comments not posted (3)
packages/bundler-mako/index.js (3)
241-256: 验证通过:支持的 Mako 配置项新增的验证逻辑确保了
mako配置中仅允许支持的键。这有助于维护系统的稳健性。
460-462: 确认更改:处理 Mako 配置
getMakoConfig函数已修改为显式处理mako配置。更改确认无误。
628-628: 确认更改:配置整合确保
mako配置正确集成到返回的配置对象中。
支持从 umi 配置透传给 mako
#1389
关联 PR
在 umi 那边增加 mako 配置的类型
Summary by CodeRabbit
mako配置键的支持。mako配置处理方式,确保支持特定配置键并正确集成到最终配置中。