ESBuild and SWC: Worth your time?

Опубликовано: 01 Январь 1970
на канале: Jack Herrington
29,215
930

Is the juice worth the squeeze with these new JS/TS compilers written in Go and Rust? We'll take a look at compiling libraries, as well as several different variations on compiling web applications using Create React App, NextJS, Webpack and Rollup.

Code: https://github.com/jherr/esbuild-swc-...
Results spreadsheet: https://docs.google.com/spreadsheets/...

Links:
ESBuild: https://esbuild.github.io/
SWC: https://swc.rs/
Babel: https://babel.dev/
TypeScript: https://www.typescriptlang.org/
NextJS 11.1: https://nextjs.org/blog/next-11-1#ado...
Craco SWC: https://www.npmjs.com/package/craco-swc
Craco ESBuild: https://www.npmjs.com/package/craco-e...
Github actions billing: https://docs.github.com/en/billing/ma...
Circle-CI billing: https://circleci.com/pricing

00:00 Introduction
00:26 The competition
00:45 Library projects
04:18 Web projects using CRA
05:55 NextJS 10 and 11
06:45 Web projects using Webpack
08:00 Web projects using Rollup
09:09 Conclusions
10:13 Outroduction

👉 What's my theme? Night Wolf [dark blue]
👉 What's that font? MonoLisa
👉 Jack is also on the React Round Up podcast: https://devchat.tv/podcasts/react-rou...
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Discord server signup:   / discord  

💢 Watch our other videos:
💟 Hacking your Github contribution graph:    • Hacking Your Github Contribution Graph || ...  
💟 More Typescript videos:    • JavaScript to TypeScript: Beginner to Master  

Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.

#esbuild #swc #javacsript #typescript #react