News for hackers. Stuff that matters.
Re:PR converts the Three.js codebase to ES2015 modules by onewaystreet on Saturday July 23, 2016 @12:16PM (#12149926)
The only benefit Rollup brings over Webpack is tree-shaking, which will be in Webpack 2.0.
Re:PR converts the Three.js codebase to ES2015 modules by rich_harris on Saturday July 23, 2016 @11:26PM (#12152100)
That's not true. Even without tree-shaking, Rollup produces bundles that are smaller and faster to execute than the equivalent Webpack bundle, because Webpack needs to inline a module loader whereas Rollup moves all the code into the same scope. They're fundamentally different designs.