VoidZero @voidzero.dev · Feb 19

Chunks are now entry-aware in Rolldown 1.0.0-rc.5 ⚡ What does that mean? When grouping chunks via `codeSplitting`, they can now be automatically split per entry point (usually per page), so users download less unused JavaScript. Just set `entriesAware: true`.

50 likes 3 replies

?

Replies

VoidZero · Feb 19

Worried about too many small chunks? `entriesAwareMergeThreshold` has you covered. Time to reduce your initial JavaScript ✨ Want more info? Take a look at our REPL example (link to the docs inside too!) repl.rolldown.rs#eNqVWIty27gV...

Sasha Chudesnov · Feb 20

What’s the standard way of marking code as pure / having side effects so that it can either be put in multiple chunks or has to stay in one that only loads once?

Katja Lutz 🦋🇨🇭 · Feb 20

Does this also affect/improve chunk grouping of dynamic import chunks 😮?