Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 326 Bytes

migrating-from-babel.md

File metadata and controls

10 lines (7 loc) · 326 Bytes

Migrating from Babel

SWC's compilation is intended to support all ECMAScript features. The SWC CLI is designed to be a drop-in replacement for Babel:

$ npx babel # old
$ npx swc # new

SWC supports all stage 3 proposals, and preset-env, including bugfix transforms.