Rollup | SWC | esbuild | tsup | Vite | Parcel | Webpack | |
---|---|---|---|---|---|---|---|
Monorepo support | ⛔️ | ⛔️ | ⛔️ | ⛔️ | ⛔️ | ✅ | ⛔️ |
Performance esbuid/swc | 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 | ⛔️ | ⛔️ | ⛔️ | ⛔️ | ✅ (didn't try) | ✅ | ⛔️ |
Watcher | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Setup | Easy | Easy | Easy | Easy | Easy? (didn't try) | Very easy | Medium |
-
-
Save pyadav/2e43bc524ce9f7211c12cb3a6cd4be28 to your computer and use it in GitHub Desktop.
Bundlers comparison
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment