5 ms·
Shameless promotion https://rollupjs.org https://rollupjs.org - JS module loader with tree shaking and async loader that works out of the box. Asynchronous lo
by baybal2 9y ago
Shameless promotion
https://rollupjs.org https://rollupjs.org - JS module loader with tree shaking and async loader that works out of the box.
Asynchronous loading and code
Take a try if webpack takes toll on your productivity
- 1_player 9y agoIsn't Rollup used mainly for libraries? The big selling point of Webpack is the plugin system to transform and store non-JS files in your bundle, which Rollup doesn't have, as far as I can tell.
- rich_harris 9y agoRollup has a powerful plugin interface that lets you transform and load files of any kind — see here for a (possibly non-exhaustive) list: https://github.com/rollup/rollup/wiki/Plugins https://github.com/rollup/rollup/wiki/Plugins Historically Rollup has indeed been more widely adopted among library authors (React, Vue, D3, Three.js, Leaflet, Moment, etc), though there's no reason it can't be used for apps — lots of us are doing just that.
- dmitriid 9y ago> JS module loader with tree shaking and async loader that works out of the box and yet > Rollup has a powerful plugin interface that lets you transform and load files of any kind — see here for a (possibly non-exhaustive) list So yes, it is primarily aimed at libraries, and "out of the box" flies out of the window when you move to apps.
- rich_harris 9y agoI don't follow your logic. What are you saying?
- rich_harris 9y agoI think generally only the creators of something get to use the term 'shameless promotion' :) We (the Rollup team) would never criticise webpack in a forum like this in order to promote our own alternative (except maybe on Twitter, because trolling Sean is just too tempting) — it's an outstanding project, and we all talk to each other and learn from each other. Rising tide lifts all boats, etc
- degurechaff 9y agowell, I think 2018 is the year of parceljs... grunt -> gulp -> browerify -> webpack -> parcel?
- avarun 9y agoNow when did this come out?
- RobertRoberts 9y agoYesterday, are you behind already on the newest trend? Best get cracking moving all your projects to the newest and bestest!
- ausjke 9y agoI actually must use Parcel these days to avoid being left-out, joke aside, Parcel is extremely easy to use, I spent 10 minutes to read the instructions and one article about how to use it, and have been using it ever since
- slig 9y agoNow I don't feel too bad for not migrating to webpack 3 yet.
- conradfr 9y agoOtherwise Brunch is still here.