-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed as not planned
Labels
Description
Describe the bug
#9700 was merged, but schema.json doesn't support es2023
and es2024
as possible values for the target
property.
I'm unsure if this is the correct place to open this bug. Feel free to close it or tell me where I should open it.
If the fix is easy to apply, I'm also happy to contribute with a PR if you point me to the right place to address the change!
Input code
No response
Config
{
"$schema": "http://json.schemastore.org/swcrc",
"jsc": {
"target": "es2023",
"parser": {
"syntax": "typescript",
"decorators": true,
"tsx": false
},
"transform": {
"decoratorMetadata": true,
"legacyDecorator": true
}
}
}
Playground link (or link to the minimal reproduction)
SWC Info output
No response
Expected behavior
SWC schema.json
should support es2023
and es2024
Actual behavior
SWC schema.json doesn't support es2023
and es2024
for target
.
Version
1.9.3
Additional context
No response