| What it is | An extremely fast bundler for the web | A bundler for javascript and friends | An extremely fast CSS parser, transformer, bundler, and minifier | Rust-based platform for the Web: a super-fast TypeScript and JavaScript compiler |
| 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
| - ES modules, CommonJS and AMD
- code splitting and lazy-loaded chunks
- loaders
- plugin system
- dependencies resolved at compile time
| - parses every CSS rule, property and value as a browser would, on Mozilla's cssparser and selectors crates
- syntax lowering for nesting, custom media queries, high-gamut colours, logical properties and new selectors by browser targets
- automatic vendor prefixing and removal of unneeded prefixes
- minifier that merges shorthands and rules, removes default values, reduces calc() and shortens colours
- CSS modules with locally scoped classes, ids, keyframes and variables
- bundle API that inlines @import rules
- source maps
- JavaScript (Node) and Rust libraries, a standalone CLI and a WebAssembly build
- All 10 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
|