Rollup (@rollupjs) 's Twitter Profile
Rollup

@rollupjs

The next-generation JavaScript module bundler.

ID: 774233791141384192

linkhttp://rollupjs.org calendar_today09-09-2016 13:11:35

436 Tweet

6,6K Followers

9 Following

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

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/#--co…

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

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/#tree…

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

🎉 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/#outp… (cont.)

Rollup (@rollupjs) 's Twitter Profile Photo

To the fine folks at Airbnb dtc innovation Sentry 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!

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

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… Before we release it, I invite everyone to test it by installing v22.0.0-5 (also update rollup to v2.64) (cont.)

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

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/… (cont.)

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

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 🦋 (@lukastaegert) 's Twitter Profile Photo

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/… Feedback welcome!

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

It is amazing how Vite ⚡ is taking off and taking Rollup 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/lukast…

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

While Rollup v3 is progressing well, we just released v2.78 that contains a long-awaited feature: Plugin hook ordering! github.com/rollup/rollup/… It was developed in close collaboration with Vite ⚡ and is similar to enforce, but on hook level. Vite support coming soon.

ViteConf (@viteconf) 's Twitter Profile Photo

🚀 We're excited to share that Lukas Taegert-Atkinson 🦋, 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/lukas…

Vite ⚡ (@vite_js) 's Twitter Profile Photo

[email protected] 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/bl…

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

🎉v3.0 of Rollup 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 ⚡ for compatibility. See github.com/rollup/rollup/… for the full changelog.

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

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

Lukas Taegert-Atkinson 🦋 (@lukastaegert) 's Twitter Profile Photo

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/…

Anthony Fu 🦋 @antfu.me (@antfu7) 's Twitter Profile Photo

📦 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 Rollup! 👇 github.com/rollup/rollup/…