Skip to content

Project

SWC

SWC is a Rust-based JavaScript/TypeScript compiler and toolchain, used by Next.js and Vite plugins as a faster alternative to Babel.

Known aliases

  • @next/swc
  • Speedy Web Compiler
  • SWC compiler
  • @swc/jest
  • swc-project
  • swc-wasm-nodejs
  • @vitejs/plugin-react-swc

Current stories

build1 publisherOne report

Node marks type stripping Stable for TypeScript written in erasable syntax

Node.js marks type stripping Stable in versions 25.2 and 24.12, letting node script.ts run TypeScript without ts-node, tsx or a build step. Node only deletes types, so the switch holds for code that stays inside TypeScript's erasable subset.

Publishers:dev.to

Reality

Evidence58
Adoption
Insufficient
Hype gap−5
Incentives
Insufficient
Confidence55
build1 publisherOne report

pnpm 12's 90% install figure comes off a 1.5-second baseline

The Rust rewrite keeps pnpm 11's commands and lockfile, so adopting it costs little more than pulling from the next-12 tag, but the headline percentage describes a 1.5-second install and the cold case improved by about two thirds.

Publishers:socket.dev

Reality

Evidence58
Adoption30
Hype gap+28
Incentives62
Confidence55
build1 publisherOne report

Only crossing the ES module line changes what Next.js 16 emits

A three-project diff published on dev.to shows Next.js 16's SWC sorting browserslist into two buckets, so chrome 116 and chrome 139 compile identically, while the ie 11 build downlevels syntax and still calls Object.hasOwn.

Publishers:dev.to

Reality

Evidence72
Adoption
Insufficient
Hype gap+14
Incentives22
Confidence58