oxc-project / oxc

⚓ A collection of JavaScript tools written in Rust.
https://oxc.rs
MIT License
12.16k stars 440 forks source link

☂️ transformer: ES2024 - ES2016 #4754

Open Boshen opened 2 months ago

Boshen commented 2 months ago

Need to implement babel plugins equivalent of

2024 features

2023 features

2022 features

2021 features

2020 features

2019 features

2018 features

2017 features

2016 features


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.

Boshen commented 2 months ago

This is not a good first issue yet.

DonIsaac commented 2 months ago

Can we add CJS to this list too? I need this for oxc-jest.

Boshen commented 2 months ago

Can we add CJS to this list too? I need this for oxc-jest.

CJS is in the milestone https://github.com/oxc-project/oxc/milestone/6

Boshen commented 2 months ago

The list is not that bad actually, we end up with a few groups:

7086cmd commented 1 month ago

I want to handle the async/await in ES2017. Currently non-arrow function is well transformed in my codebase.

overlookmotel commented 1 week ago

We had OptionalChain ticked off the list as done. But actually it's not done yet!

ObjectRestSpread was also ticked off, but we've only done half of it.

😢