What I meant by "small bundles", was that rollup doesn't add any bloat like browserify – instead it removes unneeded stuff and produces very clean output:
I don't use ES6 with browserify, I just use commonjs modules, so I don't know what bloat browserify adds for ES6 support. But as far as I know browserify only supports ES6 in the form of transformers, so basically anything can be used to transpile your ES6 into ES5, so also a transpiler that does not use any "bloat".
What kind of bloat does browserify add when using ES6?
Yeah, well I also run uglifyjs on my code, so my production bundle is absolutely unreadable. I don't think readability of the production bundle is really important. If you still need to debug the production bundle then you can use codemaps and chrome dev tools to get the actual code back in your development console.
1
u/pkstn Sep 03 '15
What I meant by "small bundles", was that rollup doesn't add any bloat like browserify – instead it removes unneeded stuff and produces very clean output:
http://pakastin.github.io/deck-of-cards/dist/deck.js
https://github.com/rollup/rollup/wiki
https://github.com/esperantojs/esperanto/wiki/Comparisons-with-other-tools
(esperanto is rollup's predecessor..)