News for hackers. Stuff that matters.
Re:Rollup.js: A next-generation JavaScript module bundler by rhizome31 on Wednesday October 21, 2015 @03:34AM (#10424117)
What's the meaning of the interactive demo on that page? The project description says Rollup bundles modules together into a single file but the demo rather seems to show conversion between the ES2015 module format and other module formats.
Re:Rollup.js: A next-generation JavaScript module bundler by lollipop25 on Wednesday October 21, 2015 @06:24PM (#10429209)
The point of the tool is to statically analyze your code and only include what the code actually needs. It doesn't mindlessly concatenate and minify everything like what everything else does.
Re:Rollup.js: A next-generation JavaScript module bundler by tobr on Wednesday October 21, 2015 @04:00AM (#10424197)
Rollup bundles multiple modules into a single module. The output module can be in several different formats. If you're bundling an app, you can use an IIFE ("globals" in the demo).