-
Notifications
You must be signed in to change notification settings - Fork 81
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
Revert "feat: support unplugin context (#1728)" #1737
Conversation
This reverts commit 3dd6d9d.
WalkthroughThis pull request reverts the changes made in a previous commit (3dd6d9d) related to supporting unplugin context. The revert addresses an issue where an undefined filePath was encountered, as referenced in the provided link. Changes
|
pub transform: | ||
Option<ThreadsafeFunction<(PluginContext, String, String), Option<TransformResult>>>, | ||
pub transform_include: Option<ThreadsafeFunction<(PluginContext, String), Option<bool>>>, | ||
pub build_start: Option<ThreadsafeFunction<(), ()>>, |
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.
The removal of PluginContext
from TsFnHooks
may lead to issues if any functionality relied on the context being passed. Ensure that this change does not break any existing functionality that depends on PluginContext
.
Caution Review failedThe pull request is closed. 概述遍历这个拉取请求主要简化了 Mako 构建系统中的插件上下文处理。通过移除 变更
序列图sequenceDiagram
participant Plugin
participant BuildSystem
participant Hook
Plugin->>BuildSystem: 注册钩子
BuildSystem->>Hook: 调用钩子函数
Hook-->>BuildSystem: 返回结果
可能相关的 PR
诗歌
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (21)
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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1737 +/- ##
=======================================
Coverage 54.82% 54.82%
=======================================
Files 180 180
Lines 18053 18053
=======================================
Hits 9897 9897
Misses 8156 8156 ☔ View full report in Codecov by Sentry. |
This reverts commit 3dd6d9d.
Ref: https://github.com/ant-design/ant-design/actions/runs/12576684269/job/35054329597?pr=52120
Received an undefined filePath here:
https://github.com/umijs/dumi/blob/21e1585460fec2ef183695247aac30177992f09e/src/features/compile/makoHooks.ts#L50
Summary by CodeRabbit
以下是发行说明:
新功能
重大变更
PluginContext
结构文档更新
依赖变更
@iconify-json/mdi
、unplugin-icons
和unplugin-replace
依赖测试和示例