3 ms·
The gist is that Webpack is diverging from Node, has difficulty consuming node/browserify modules, and encourages non-compatible syntax through its require() ov
by mattdesl 12y ago
The gist is that Webpack is diverging from Node, has difficulty consuming node/browserify modules, and encourages non-compatible syntax through its require() overloads (which are encouraged all over the docs).
Browserify also decouples its transforms from its core. The difference is that browserify can correctly identify which transforms your various dependencies are using, since they are listed in the package.json of each module, and it can resolve them automatically during the bundle step. This is not yet in Webpack, which makes code re-use more tedious.