SWC

Rust-based platform for the Web

SWC is an extensible Rust-based platform for the next generation of fast developer tools. 20x faster than Babel on a single thread, 70x faster on four cores.

Core capabilities

Compilation

Takes JavaScript / TypeScript files using modern JavaScript features and outputs valid code that is supported by all major browsers.

Minification

A fast, Terser-compatible JavaScript minifier written in Rust.

WebAssembly

Transform code with WebAssembly builds — run SWC anywhere JavaScript runs.

webpack & Rspack

Use swc-loader to speed up builds inside webpack and Rspack.

Jest

Improve Jest performance dramatically with @swc/jest.

Custom Plugins

Extend SWC with custom Wasm plugins written in Rust.