←
Rollup436 posts
Rollup avatar

Rollup

@RollupJS

The next-generation JavaScript module bundler.

◷ Joined September 2016▧ 6 Photos and videos
Rollup avatar
Rollup@RollupJS·23 Apr 2023

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 ❤️

Anthony Fu 🦋 @antfu.me avatar
⟳ Rollup retweeted
Anthony Fu 🦋 @antfu.me@antfu7·20 Apr 2023

📦 Let me know if you also find this helpful! 🌴 Tree-shaking for deterministic dynamic imports: - const { uniq } = await import('lodash-es') - (await import('lodash-es')).uniq Coming to @RollupJS! 👇 github.com/rollup/rollup/pul…

Lukas Taegert-Atkinson 🦋 avatar
⟳ Rollup retweeted
Lukas Taegert-Atkinson 🦋@lukastaegert·12 Oct 2022

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…

Lukas Taegert-Atkinson 🦋 avatar
⟳ Rollup retweeted
Lukas Taegert-Atkinson 🦋@lukastaegert·11 Oct 2022

🎉I am massively happy to announce the release of Rollup 3! Check it out: github.com/rollup/rollup/rel… In the last months, there was a ton of polishing, and all core plugins have received an update as well.

Lukas Taegert-Atkinson 🦋 avatar
⟳ Rollup retweeted
Lukas Taegert-Atkinson 🦋@lukastaegert·31 Aug 2022

🎉v3.0 of @RollupJS is now feature complete and ready for public testing via `npm i rollup@beta`! In the next weeks, we will check official plugins and work with @vite_js for compatibility. See github.com/rollup/rollup/pul… for the full changelog.

Lukas Taegert-Atkinson 🦋 avatar
⟳ Rollup retweeted
Lukas Taegert-Atkinson 🦋@lukastaegert·14 Aug 2022

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.

Lukas Taegert-Atkinson 🦋 avatar
⟳ Rollup retweeted
Lukas Taegert-Atkinson 🦋@lukastaegert·5 Jul 2022

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!

Lukas Taegert-Atkinson 🦋 avatar
⟳ Rollup retweeted
Lukas Taegert-Atkinson 🦋@lukastaegert·5 Jul 2022

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.)

Lukas Taegert-Atkinson 🦋 avatar
⟳ Rollup retweeted
Lukas Taegert-Atkinson 🦋@lukastaegert·5 Jul 2022

Rollup v2 has been around for a REALLY long time, but we are finally starting to prepare v3 now! And the most important core feature is already ready for testing: A completely rewritten content hashing logic! github.com/rollup/rollup/pul… (cont.)

Lukas Taegert-Atkinson 🦋 avatar
⟳ Rollup retweeted
Lukas Taegert-Atkinson 🦋@lukastaegert·14 Jan 2022

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.)