| What it is | The TypeScript loader for webpack: compile .ts and .tsx files as part of a webpack build | A bundler for javascript and friends | Rust-based platform for the Web: a super-fast TypeScript and JavaScript compiler | Zero-config bundler for TypeScript libraries, powered by esbuild |
| Features | - Compiles TypeScript (.ts, .tsx) inside a webpack build
- Reports type errors and fails the build on them
- transpileOnly mode for fast builds, with type checking moved to fork-ts-checker-webpack-plugin
- Emits declaration (.d.ts) files
- Incremental builds with TypeScript project references
- Works with Babel, Yarn Plug'n'Play, webpack watch and hot module replacement
| - ES modules, CommonJS and AMD
- code splitting and lazy-loaded chunks
- loaders
- plugin system
- dependencies resolved at compile time
| - JavaScript and TypeScript compilation to browser-compatible code
- minification
- bundling
- transforms with WebAssembly plugins
- swc-loader for webpack and Rspack
- @swc/jest for faster Jest
- prebuilt binaries for macOS, Linux, Alpine, Android and Windows
- CLI
| - Bundles TypeScript libraries with no config
- Built on esbuild
- Several entry files in one run, output to ./dist
- Experimental CSS support
|