The next-generation JavaScript module bundler.

node_modules
Thanks to the magnificent @antfu7, Rollup can now do tree-shaking for named exports in dynamic imports as well! elk.zone/m.webtoo.ls/@lukast…
6
72
17,916
Since a few days, the entire Rollup docs are now available in Chinese! Thanks to @Shenqingchuan, who approached us, assembled a team and made the impossible possible. Not only that, but they also presented a way to keep the documentation up to date easily: cn.rollupjs.org
5
9
85
25,266
This has been requested a lot. We are hugely thankful for their effort, which we are sure can also be attributed to the amazing Vite community. There are more an more great contributions coming from that direction ❤️
1
16
8,359
While Rollup 3 has just been released and @ViteConf is not even over, we already released the first new feature thanks to a new contributor: Use arrays as plugins in Rollup Vite-style! Thank you so much sxzz! github.com/rollup/rollup/rel…
2
12
98
Rollup retweeted
✋ vite@3.1.0-beta.1 is out! main.vitejs.dev ✅ Migration to parse5, a battle-tested HTML5-compliant parser 🆕 Support for the new Rollup hooks object form Please help us test the beta and let us know how it works for you. Complete changelog at github.com/vitejs/vite/blob/…
2
17
129
🚀 We're excited to share that @lukastaegert, maintainer of @rollupjs will be a speaker at ViteConf! Vite success is in big part due to a strong bet on Rollup, and Lukas's work on Rollup 3 is fundamental for the future of the ecosystem ⚡️ Vite ❤️ Rollup viteconf.org/speakers/lukast…
1
6
49
While @RollupJS v3 is progressing well, we just released v2.78 that contains a long-awaited feature: Plugin hook ordering! github.com/rollup/rollup/rel… It was developed in close collaboration with @vite_js and is similar to enforce, but on hook level. Vite support coming soon.
4
13
162
It is amazing how @vite_js is taking off and taking @RollupJS along for the ride🚀 I will give a short talk about Rollup 3, the future of the plugin system and what Vite means for us at @ViteConf so stay tuned! viteconf.org/tickets/lukasta…
1
13
116
Additional features are - configurable hash length via e.g. [hash:16] - functions passed to banner/footer/intro/outro are called per chunk with some chunk information Try out the first beta via "npm install rollup@beta" github.com/rollup/rollup/pul… Feedback welcome!
2
2
7
At last, it provides optimally stable chunk hashes that only depend on the final content (including e.g. renderChunk changes) while it fully supports circular (hash-)dependencies. And renderChunk also has access to the full chunk graph now! (cont.)
1
1
8
There is a big update for @rollup/plugin-commonjs approaching that should finally solve many long-standing issues related to execution order: github.com/rollup/plugins/pu… Before we release it, I invite everyone to test it by installing v22.0.0-5 (also update rollup to v2.64) (cont.)
1
3
16
To the fine folks at @Airbnb dtc innovation @getsentry that just supported Rollup with generous open source grants: Thank you so much ❤️ Everyone involved in Rollup does it out of passion for the ecosystem and developer experience, this helps us a lot!
5
46
🎉 In v2.57.0, Rollup finally gets a "modern" mode! Setting output.generatedCode="es2015" will allow Rollup to use things like "const" and arrow functions for more efficient helpers and slightly smaller code output. rollupjs.org/guide/en/#outpu… (cont.)
3
28
158
Also in Rollup 2.52: tree-shaking presets. As we are adding new ways to make output even smaller while also working on fixing edge case issues, you can now use the presets "safest" or "smallest" to get the best results: rollupjs.org/guide/en/#trees…
7
53
Here is a long-awaited feature in Rollup v2.52: TypeScript config files! Or actually any language config files 😎 As this is Rollup and we try to keep it small and dependency free, it works via the same plugins you already use: rollupjs.org/guide/en/#--con…
2
3
57