-
-
Save pyadav/2e43bc524ce9f7211c12cb3a6cd4be28 to your computer and use it in GitHub Desktop.
Bundlers comparison
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| | | Rollup | SWC | esbuild | tsup | Vite | Parcel | Webpack | | |
| |-----------------------------|-------------------|------|------------|--------------------|-------------------|-------------|------------| | |
| | Monorepo support | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔️ | ✅ | | |
| | Performance esbuid/swc | ⛔️ | ⛔️ | ⛔️ | esbuid/swc | esbuid/swc | ⛔️ | esbuid/swc | | |
| | Type declaration (.d.ts) | rollup-plugin-dts | ✅ | ✅ | rollup-plugin-dts | rollup-plugin-dts | ⛔️ | ts-loader | | |
| | Declaration map (.d.ts.map) | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔️ | ts-loader | | |
| | Treeshaking | ⛔️ | ⛔️ | ⛔️ | esbuild + rollup | esbuild + rollup | ⛔️ | ⛔️ | | |
| | Type-check | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ts-loader | | |
| | Cache | ✅ | ✅ | ✅ | ✅ | ⛔️ (didnt try) | ⛔️ | ✅ | | |
| | Watcher | ⛔️ | ⛔️ | ⛔️ | ⛔️ | ⛔️ | ⛔️ | ⛔️ | | |
| | Setup | Easy | Easy | Easy | Easy | Easy? (didnt try) | Very easy | Medium | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment