VoidZero @voidzero.dev · Nov 12

Better Dead Code Elimination in @rolldown.rs ✔ All built-in typed array constructors, such as `Uint32Array`, are now marked as pure. In turn, they are properly removed when they don't have any effect and are "dead code". Another optimization towards smaller bundles 🎉

29 likes 2 replies

?

Replies

Mastro.{js,ts} · Nov 12

To be fair, that’s something a linter usually catches. But what’s the status of “sideEffects: false" in package.json or a similar mechanism?

Philippe Serhal · Nov 12

Big fan of this part out of context