JS Bundler Comparison
michaelficarra edited this page Apr 16, 2013
·
5 revisions
commonjs-everywhere | node-browserify | webpack | wrapup | |
---|---|---|---|---|
support for arbitrary compile-to-JS languages | ✓ | ? | ✓ | ✗ |
operates on structured JS representation | ✓ | ✗ | ✓ | ✓ |
exposes structured JS representation | ✓ | ✗ | ✓ | ✓ |
exposes computed dependencies | ✓ | ? | ? | ? |
CLI watcher that only reloads necessary dependencies | ✓ | ✗ | ✓ | ✓ |
source maps | ✓ | ✗ | ✓ | ✓ |
supports entire module specification | ✓ | ? | ? | ? |
supports useful parts of process specification | ✓ | ? | ? | ? |
shims core node modules | ✓ | ? | ? | ? |
module aliasing for browser-only implementations | ✓ | ? | ? | ? |
MS Windows support | ✓ | ? | ? | ? |
async and sync interfaces | ✓ | ? | ? | ? |
compile-time module resolution | ✓ | ? | ? | ? |
support circular dependencies | ✓ | ? | ? | ? |
defines global , __filename and __dirname
|
✓ | ? | ? | ? |
accept input over stdin, output to stdout | ✓ | ? | ? | ? |
helpful errors for deps that are poorly specified | ✓ | ? | ? | ? |
helpful errors for deps that can't be found | ✓ | ? | ? | ? |
extensive test suite | ✓ | ? | ? | ? |
supports other module systems (AMD, etc.) | ✗ | ? | ? | ? |
TODO: add more things