-
Notifications
You must be signed in to change notification settings - Fork 85
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
chore/rename tree shaking #1308
Conversation
Walkthrough整体而言,这次变更涉及对 Changes
Poem
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 (
|
.
Summary by CodeRabbit
FarmTreeShake
修改为tree_shake::FarmTreeShake
。farm_tree_shake
模块,并添加新模块tree_shake
。tree_shake.rs
文件中将插件名称从“farm/tree-shake”修改为“tree-shake”,并将函数optimize_farm
重命名为optimize_modules
。module.rs
文件中更新了导入路径,从farm_tree_shake
更正为tree_shake
。remove_useless_stmts.rs
文件中与树摇动功能相关的导入路径。shake.rs
文件中将函数optimize_farm
重命名为optimize_modules
,并更新了各模块的导入路径。find_export_source.rs
文件中将导入从farm_tree_shake
模块修改为tree_shake
模块。module_concatenate.rs
文件中更新了与树摇动相关的模块的导入路径。concatenate_context.rs
文件中更新了ConcatenateConfig
的导入路径。skip_module.rs
文件中更新了与树摇动功能相关的模块的导入路径。statement_graph.rs
文件中的路径,相应地更新了导入和函数调用。