Skip to content

release: v1.0.0-rc.2#8106

Merged
shulaoda merged 1 commit intomainfrom
release-v1.0.0-rc.2-1769606593
Jan 28, 2026
Merged

release: v1.0.0-rc.2#8106
shulaoda merged 1 commit intomainfrom
release-v1.0.0-rc.2-1769606593

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 28, 2026

[1.0.0-rc.2] - 2026-01-28

⚡ Lazy Barrel Optimization

  • Skips compilation of unused re-export modules in side-effect-free barrel modules
  • Particularly beneficial for projects importing from large component libraries

For large component libraries like Ant Design, when you import just one component:

import { Button } from 'antd';
Button;
Metric Without lazy barrel With lazy barrel
Modules compiled 2986 250
Build time (macOS) ~65ms ~28ms
Build time (Windows) ~210ms ~50ms

By enabling lazy barrel, Rolldown reduces the number of compiled modules by 90% and speeds up the build by 2-4x.

Enable it in your config:

export default {
  experimental: {
    lazyBarrel: true,
  },
};

For more details, see the https://rolldown.rs/in-depth/lazy-barrel-optimization

💥 BREAKING CHANGES

🚀 Features

🐛 Bug Fixes

🚜 Refactor

📚 Documentation

⚡ Performance

🧪 Testing

⚙️ Miscellaneous Tasks

❤️ New Contributors

@netlify
Copy link

netlify bot commented Jan 28, 2026

Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit 34efa30
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/697a0dc9894f4f000889562c
😎 Deploy Preview https://deploy-preview-8106--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@shulaoda shulaoda merged commit 10290d2 into main Jan 28, 2026
8 checks passed
@shulaoda shulaoda deleted the release-v1.0.0-rc.2-1769606593 branch January 28, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants