Skip to content

Instantly share code, notes, and snippets.

View ivanbanov's full-sized avatar
:octocat:
undefined

Ivan Banov ivanbanov

:octocat:
undefined
View GitHub Profile
const defaultFontFamily = 'Avenir, Helvetica Neue, Helvetica, Arial, sans-serif';
const font = {
size: {
base: {
small: '16px',
large: '18px',
},
// PX to REM based on 16px
@ivanbanov
ivanbanov / bundlers.md
Last active June 17, 2023 15:06
Bundlers comparison
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