-
Notifications
You must be signed in to change notification settings - Fork 198
fix: develop build chunk size take 2 #11233
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
Conversation
📝 WalkthroughWalkthroughAdds a code-splitting rule for the VIEM library in the Vite/Rollup build configuration by returning 'viem' as a dedicated chunk when a module ID includes 'viem'. This change is isolated to the manualChunks logic within node_modules handling. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings📚 Learning: 2025-08-12T17:52:34.672ZApplied to files:
📚 Learning: 2025-08-29T18:09:45.982ZApplied to files:
📚 Learning: 2025-08-12T17:53:56.322ZApplied to files:
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
NeOMakinG
left a comment
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.
Seems quite happy, hopefully as viem is a peer dep of some other packages
I gave a quick smoke test on basic wallet features like swap/send/connect, couldn't find a weird behavior on gome!
Description
Thought #11232 was the culprit but wasn't, found the real root cause.
#11198 (hdwallet 1.62.16) brought the whole of viem, not tree-shaken (big boi) in here
Issue (if applicable)
closes N/A, develop deploy currently borked
Risk
None - whether it works or it doesn't, only affects deploy
Testing
yarn clean:web && MODE=development DEPLOY=true yarn build:web(same command as in CI)ls -lh build/assets/*.js.map | awk '{print $5, $NF}' | sort -rh | head -10Engineering
Operations
Screenshots (if applicable)
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.