-
Notifications
You must be signed in to change notification settings - Fork 4.9k
fix: vite构建vue3项目循环引用报错 #17541
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: vite构建vue3项目循环引用报错 #17541
Conversation
Walkthrough本次修改在 Changes
Sequence Diagram(s)sequenceDiagram
participant M as 模块
participant F as getManualChunks
M ->> F: 传入模块ID
F ->> F: 判断当前框架是否为 Vue3
alt 框架为 Vue3
F ->> F: 检查模块ID是否匹配 babelDeps
alt 匹配
F -->> M: 返回 'babelHelpers'
else 不匹配
F -->> M: 执行常规逻辑
end
else 非 Vue3
F -->> M: 按常规流程处理
end
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)
✨ Finishing Touches
🪧 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 (
|
36685bf
to
5b53c7c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17541 +/- ##
=======================================
Coverage 57.70% 57.70%
=======================================
Files 469 469
Lines 26551 26551
Branches 5859 5858 -1
=======================================
Hits 15321 15321
+ Misses 9608 9598 -10
- Partials 1622 1632 +10
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
这个 PR 做了什么? (简要描述所做更改)
vite构建vue3项目,打包内容 taro.js 和 vendors.js 会出现循环引用,导致报错。
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
Summary by CodeRabbit
Bug Fixes
Refactor