Closed gaearon closed 8 years ago
Just curious, is Rollup an alternative to Webpack, or do you use it as some kind of loading step in Webpack?
@taylorlapeyre For us, we're investigating using Rollup to replace our Browserify build step.
@taylorlapeyre Rollup is extremely good at bundling code. It basically attempts to create a single flattened IIFE with all of the variables and functions from all modules in the same namespace by renaming conflicts. Webpack 2 aims to create similarly optimized bundles, but for now Rollup is the best bet.
It is not true that React is "only" one normalizing events. Bobril does same and goes much further from HTML events, for example it normalizes touch across Chrome, IE10, IE11. It emulates pointerEvents: none, or userSelect: none.
Please discuss in this PR!