-
-
Notifications
You must be signed in to change notification settings - Fork 931
Closed
Labels
A-transformerArea - Transformer / TranspilerArea - Transformer / Transpiler
Milestone
Description
Need to implement babel plugins equivalent of
- https://github.com/evanw/esbuild/blob/9c13ae1f06dfa909eb4a53882e3b7e4216a503fe/compat-table/src/index.ts#L350-L399
- https://github.com/evanw/esbuild/blob/9c13ae1f06dfa909eb4a53882e3b7e4216a503fe/compat-table/src/kangax.ts#L20-L85
2024 features
- RegexpSetNotation (See "Regex Features" below) evanw/esbuild@b5ec405
2023 features
- Hashbang (syntax)
2022 features
- ClassField https://babel.dev/docs/babel-plugin-transform-class-properties
- ClassPrivateAccessor https://babeljs.io/docs/babel-plugin-transform-private-methods
- ClassPrivateBrandCheck https://babeljs.io/docs/babel-plugin-transform-private-methods
- ClassPrivateField https://babel.dev/docs/babel-plugin-transform-private-property-in-object
- ClassPrivateMethod https://babel.dev/docs/babel-plugin-transform-private-methods
- ClassPrivateStaticAccessor https://babeljs.io/docs/babel-plugin-transform-private-methods
- ClassPrivateStaticField https://babeljs.io/docs/babel-plugin-transform-private-methods
- ClassPrivateStaticMethod https://babeljs.io/docs/babel-plugin-transform-private-methods
- ClassStaticBlocks https://babel.dev/docs/babel-plugin-transform-class-static-block
- ClassStaticField https://babeljs.io/docs/babel-plugin-transform-class-properties
- TopLevelAwait (syntax)
- RegexpMatchIndices (See "Regex Features" below)
-
ArbitraryModuleNamespaceNamescan parse correctly, can emit a warning if required evanw/esbuild@d354bbb
2021 features
- LogicalAssignment https://babel.dev/docs/babel-plugin-transform-logical-assignment-operators @Dunqing feat(transformer): support logical-assignment-operators plugin #4890
2020 features
- Bigint (syntax)
- ExportStarAs (syntax)
- ImportMeta (syntax)
- NullishCoalescing https://babel.dev/docs/babel-plugin-transform-nullish-coalescing-operator feat(transformer): support nullish-coalescing-operator plugin #4884 @Dunqing
- transformer: OptionalChain #6958
-
TypeofExoticObjectIsObjectminifier feature Minifytypeof x !== 'undefined'totypeof x < 'u'
evanw/esbuild@81215bc
2019 features
- OptionalCatchBinding https://babel.dev/docs/babel-plugin-transform-optional-catch-binding @Dunqing feat(transformer): support
optional-catch-bindingplugin #4885
2018 features
- AsyncGenerator https://babeljs.io/docs/babel-plugin-transform-async-generator-functions
- ForAwait https://babeljs.io/docs/babel-plugin-transform-async-generator-functions
- transformer: ObjectRestSpread #6959
- feat(transformer): add
object-spreadplugin #3133 covered spread, rest not done yet
- feat(transformer): add
- RegexpDotAllFlag (See "Regex Features" below)
- RegexpLookbehindAssertions (See "Regex Features" below)
- RegexpNamedCaptureGroups (See "Regex Features" below)
- RegexpUnicodePropertyEscapes (See "Regex Features" below)
2017 features
2016 features
- ExponentOperator https://babel.dev/docs/babel-plugin-transform-exponentiation-operator feat(transformer): support exponentiation operator plugin #4876 @Dunqing
Regex Features
See https://esbuild.github.io/content-types/#javascript #5387
Unsupported regular expression literals are transformed into a new RegExp() constructor call so you can bring your own polyfill library to get them to work anyway.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-transformerArea - Transformer / TranspilerArea - Transformer / Transpiler
Type
Fields
Give feedbackPriority
None yet