3 ms·
The only benefit Rollup brings over Webpack is tree-shaking, which will be in Webpack 2.0.
by onewaystreet 10y ago
The only benefit Rollup brings over Webpack is tree-shaking, which will be in Webpack 2.0.
- rich_harris 10y agoThat'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.