-
Notifications
You must be signed in to change notification settings - Fork 74
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: dynamic import can not resolve part of filename tpl #1224
Conversation
Walkthrough本次更改涉及 改动
诗歌
Note Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://coderabbit.ai 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 (
|
补充下问题描述? |
|
@@ -244,7 +252,6 @@ fn try_replace_context_arg( | |||
suffix = Some(raw.to_string()); | |||
} | |||
} | |||
|
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.
你的 PR 怎么总是删空行 👀
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.
下次注意...
close #1215
Summary by CodeRabbit
context_module.rs
文件中增加了一些新功能,包括导入std::fs
和std::path::Path
,更新了ContextModulePlugin
实现中的键和元数据处理,修改了try_replace_context_arg
函数中处理前缀和后缀的逻辑,以及新增了has_index_file_in_directory
函数用于检查目录中是否存在索引文件。