Open lukeed opened 7 years ago
I reeeally need to look into this one. Going to test it out with preact.
@developit I've been working on a boilerplate locally. Nothing fancy, but been getting some great reductions.
Awesome, would love to see that just to get an idea of how it works.
I actually finally used Rollup in an app (I've only ever used it for libraries) when I redid preact-todomvc and it was neat to get below the webpack limits :D
That was the first thing I did when I checked out your TodoMVC 😜
I think all the prior conditioning of "Don't touch other devs' build tools!" tricked me into not opening a PR. Should've known that the same rules don't apply to you 😉
ah no those are the best PRs, I hate fiddling with build tooling haha
I'd be curious to see how it stacks up! The current output via Rollup is 6kb but it could definitely be smaller.
Using splittable for libraries? I think its focused on applications but I may be wrong
@kennetpostigo A module is a module is a module :)
Add Splittable?
It's the new kid on the block, but produces even smaller bundles than Rollup, supports CommonJS out of the box, and allows for code-splitting (like WebPack).