You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case, the transformer will transform code to 'es2019' along with block-scoping being transformed.
I'm looking forward to hearing your opinion and love to contribute ;--)
This discussion was converted from issue #8340 on November 24, 2023 18:14.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the feature
Hi! We would like to use the fine grained transformation features and
wondering if maybe the configurations are possible to be added to SWC compiler.
For example, in my case is the
transform-block-scoping
and expose toswc-loader
.Here's my proposal:
This enables the
block-scoping
feature that is provided in es2015, etc.Support
block-scoping
transformation withtarget
In this case, the transformer will transform code to 'es2019' along with
block-scoping
being transformed.I'm looking forward to hearing your opinion and love to contribute ;--)
Babel plugin or link to the feature description
https://babeljs.io/docs/babel-plugin-transform-block-scoping
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions