-
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
feat: add mako config #12366
feat: add mako config #12366
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Walkthrough本次更新在 Changes
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: 1
Out of diff range and nitpick comments (1)
packages/preset-umi/src/features/mako/mako.ts (1)
15-21
: 建议在代码中添加注释,解释为什么需要禁用mfsu
和hmrGuardian
。这有助于其他开发者理解这些更改的背景。
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!pnpm-lock.yaml
Files selected for processing (3)
- packages/preset-umi/package.json (1 hunks)
- packages/preset-umi/src/features/mako/mako.ts (1 hunks)
- packages/preset-umi/src/index.ts (1 hunks)
Files skipped from review due to trivial changes (1)
- packages/preset-umi/package.json
Additional comments not posted (2)
packages/preset-umi/src/features/mako/mako.ts (1)
8-10
: 请确认是否有意将 Mako 的配置模式设置为空。如果是初始设置,建议在文档中说明。packages/preset-umi/src/index.ts (1)
60-60
: 添加 Mako 模块的方式正确无误,使用了require.resolve
来确保运行时解析,这是 Node.js 应用中的常见模式。
Size Change: +1.33 kB (0%) Total Size: 9.9 MB
ℹ️ View Unchanged
|
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/preset-umi/src/features/mako/mako.ts (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- packages/preset-umi/src/features/mako/mako.ts
Changes:
1、添加 mako 配置(但暂不在文档中露出)
2、Umi 开启 Mako 时目前会给一个警告信息。
Summary by CodeRabbit
@umijs/bundler-mako
版本0.4.14
的依赖。