| What it is | Babel is a JavaScript compiler. Use next generation JavaScript, today. | An extremely fast bundler for the web | Rust-based platform for the Web: a super-fast TypeScript and JavaScript compiler | The JavaScript Oxidation Compiler: high-performance JavaScript and TypeScript tools in Rust |
| Features | - syntax transforms from newer JavaScript to ES5
- @babel/preset-env targets chosen environments
- JSX transform with @babel/preset-react
- strips TypeScript and Flow type annotations
- polyfills through core-js
- plugins and presets you can write yourself
- source maps
- codemods and other source transformations
- All 10 features
| - extreme speed without a cache
- JavaScript, CSS, TypeScript and JSX built in
- CLI, JavaScript and Go APIs
- bundles ESM and CommonJS modules
- bundles CSS including CSS modules
- tree shaking, minification and source maps
- local server and watch mode
- plugin API with resolve and load callbacks
- All 9 features
| - 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
| - Oxlint: ESLint-compatible linter with 800+ rules
- type-aware linting powered by tsgo
- ESLint JavaScript plugin support
- Oxfmt: Prettier-compatible formatter (beta) with Tailwind class sorting
- parser for .js(x) and .ts(x) passing all Test262 stage 4 tests
- transformer: TypeScript, JSX, syntax lowering to ES2015, isolated declarations DTS emit, React Fast Refresh
- Node.js-compatible CJS and ESM resolver aligned with enhanced-resolve
- minifier (alpha): dead code elimination and name mangling
- All 10 features
|
| Limitations | - Doesn't type-check TypeScript or Flow: it strips the type annotations, so you still run tsc or Flow to check types
| - No TypeScript type checking: run tsc separately.
- Code splitting is still primitive.
- No support for other frontend languages such as Svelte, Vue or Angular in the core; use plugins.
- Not doing active feature development; the author makes maintenance releases.
| | - The formatter is in beta and the minifier in alpha
|