Skip to main content

Comparison with babel

Note: For the case where this document is outdated, you can expect swc to support all of ecmascript specifcation.

babel package nameswc
babel-plugin-external-helpersโœ”๏ธ
babel-plugin-proposal-async-generator-functionsโœ”๏ธ
babel-plugin-proposal-class-propertiesโœ”๏ธ
babel-plugin-proposal-decoratorsโœ”๏ธ
babel-plugin-proposal-do-expressionsโŒ (stage 1)
babel-plugin-proposal-dynamic-importโœ”๏ธ
babel-plugin-proposal-export-default-fromโœ”๏ธ
babel-plugin-proposal-export-namespace-fromโœ”๏ธ
babel-plugin-proposal-function-bindโŒ (stage 0)
babel-plugin-proposal-function-sentโŒ (stage 2)
babel-plugin-proposal-json-stringsโœ”๏ธ
babel-plugin-proposal-logical-assignment-operatorsโŒ (stage 1)
babel-plugin-proposal-nullish-coalescing-operatorโœ”๏ธ
babel-plugin-proposal-numeric-separatorโœ”๏ธ
babel-plugin-proposal-object-rest-spreadโœ”๏ธ
babel-plugin-proposal-optional-catch-bindingโœ”๏ธ
babel-plugin-proposal-optional-chainingโœ”๏ธ
babel-plugin-proposal-partial-applicationโŒ (stage 1)
babel-plugin-proposal-pipeline-operatorโŒ (stage 0)
babel-plugin-proposal-private-methodsโœ”๏ธ
babel-plugin-proposal-throw-expressionsโŒ (stage 2)
babel-plugin-proposal-unicode-property-regexโŒ
babel-plugin-syntax-async-generatorsโœ”๏ธ
babel-plugin-syntax-bigintโœ”๏ธ
babel-plugin-syntax-class-propertiesโœ”๏ธ
babel-plugin-syntax-decoratorsโœ”๏ธ
babel-plugin-syntax-do-expressionsโŒ (stage 1)
babel-plugin-syntax-dynamic-importโœ”๏ธ
babel-plugin-syntax-export-default-fromโœ”๏ธ
babel-plugin-syntax-export-namespace-fromโœ”๏ธ
babel-plugin-syntax-flowโŒ
babel-plugin-syntax-function-bindโŒ (stage 0)
babel-plugin-syntax-function-sentโŒ (stage 2)
babel-plugin-syntax-import-metaโŒ (stage 3, wip)
babel-plugin-syntax-json-stringsโœ”๏ธ
babel-plugin-syntax-jsxโœ”๏ธ
babel-plugin-syntax-logical-assignment-operatorsโŒ (stage 1)
babel-plugin-syntax-nullish-coalescing-operatorโœ”๏ธ
babel-plugin-syntax-numeric-separatorโœ”๏ธ
babel-plugin-syntax-object-rest-spreadโœ”๏ธ
babel-plugin-syntax-optional-catch-bindingโœ”๏ธ
babel-plugin-syntax-optional-chainingโœ”๏ธ
babel-plugin-syntax-partial-applicationโŒ (stage 1)
babel-plugin-syntax-pipeline-operatorโŒ (stage 0)
babel-plugin-syntax-throw-expressionsโŒ (stage 2)
babel-plugin-syntax-top-level-awaitโœ”๏ธ
babel-plugin-syntax-typescriptโœ”๏ธ
babel-plugin-transform-arrow-functionsโœ”๏ธ
babel-plugin-transform-async-to-generatorโœ”๏ธ
babel-plugin-transform-block-scoped-functionsโœ”๏ธ
babel-plugin-transform-block-scopingโœ”๏ธ
babel-plugin-transform-classesโœ”๏ธ
babel-plugin-transform-computed-propertiesโœ”๏ธ
babel-plugin-transform-destructuringโœ”๏ธ
babel-plugin-transform-dotall-regexโŒ
babel-plugin-transform-duplicate-keysโœ”๏ธ
babel-plugin-transform-exponentiation-operatorโœ”๏ธ
babel-plugin-transform-flow-commentsโŒ
babel-plugin-transform-flow-strip-typesโŒ
babel-plugin-transform-for-ofโœ”๏ธ
babel-plugin-transform-function-nameโœ”๏ธ
babel-plugin-transform-instanceofโœ”๏ธ
babel-plugin-transform-jscriptโŒ
babel-plugin-transform-literalsโœ”๏ธ
babel-plugin-transform-member-expression-literalsโœ”๏ธ
babel-plugin-transform-modules-amdโœ”๏ธ
babel-plugin-transform-modules-commonjsโœ”๏ธ
babel-plugin-transform-modules-systemjsโŒ
babel-plugin-transform-modules-umdโœ”๏ธ
babel-plugin-transform-named-capturing-groups-regexโŒ
babel-plugin-transform-new-targetโŒ
babel-plugin-transform-object-assignโŒ
babel-plugin-transform-object-set-prototype-of-to-assignโŒ
babel-plugin-transform-object-superโŒ
babel-plugin-transform-object-rest-spreadโœ”๏ธ
babel-plugin-transform-parametersโœ”๏ธ
babel-plugin-transform-property-literalsโœ”๏ธ
babel-plugin-transform-property-mutatorsโŒ
babel-plugin-transform-proto-to-assignโŒ
babel-plugin-transform-react-constant-elementsโŒ
babel-plugin-transform-react-display-nameโœ”๏ธ
babel-plugin-transform-react-inline-elementsโŒ
babel-plugin-transform-react-jsxโœ”๏ธ
babel-plugin-transform-react-jsx-compatโŒ
babel-plugin-transform-react-jsx-selfโœ”๏ธ
babel-plugin-transform-react-jsx-sourceโœ”๏ธ
babel-plugin-transform-regeneratorโœ”๏ธ
babel-plugin-transform-reserved-wordsโœ”๏ธ
babel-plugin-transform-runtimeโœ”๏ธ
babel-plugin-transform-shorthand-propertiesโœ”๏ธ
babel-plugin-transform-spreadโœ”๏ธ
babel-plugin-transform-sticky-regexโœ”๏ธ
babel-plugin-transform-strict-modeโœ”๏ธ
babel-plugin-transform-template-literalsโœ”๏ธ
babel-plugin-transform-typeof-symbolโœ”๏ธ
babel-plugin-transform-typescriptโœ”๏ธ
babel-plugin-transform-unicode-regexโŒ
babel-preset-envโœ”๏ธ
babel-preset-env-standaloneโŒ
babel-preset-flowโŒ
babel-preset-reactโœ”๏ธ
babel-preset-stage-0โŒ
babel-preset-stage-1โŒ
babel-preset-stage-2โŒ
babel-preset-stage-3โŒ
babel-preset-typescriptโœ”๏ธ
babel-registerโœ”๏ธ (swc-register)
Last updated on by stef