esbuild
A very fast JavaScript and TypeScript bundler and transpiler written in Go.
In more detail
It removes types file by file without checking them, which is why it is much faster than tsc. tsx and parts of Vite use it internally.
Related terms
- bundler — A build tool, such as webpack, Rollup or Vite, that follows imports and combines modules into files a browser can load efficiently.
- transpiler — A tool that translates source code into another language at a similar level, such as TypeScript into plain JavaScript.
- single-file transpilation — Compiling each file on its own without looking at the rest of the project, which is fast but cannot use type information.
- tsx — A command-line tool that runs TypeScript files directly in Node.js by compiling them on the fly with esbuild.
Taught in
- ECMAScript Modules, CJS Interop And verbatimModuleSyntax — Production TypeScript