oxc
oxc copied to clipboard
transformer: add es `target`
Babel does not have target, but we need it to make oxc-transform compatible with tsc / esbuild.
Just to clarify, is target a browserslist query? Or something else?
Just to clarify, is
targeta browserslist query? Or something else?
Babel targets https://babel.dev/docs/options#targets
ESBuild target https://esbuild.github.io/api/#target
tsc target https://www.typescriptlang.org/tsconfig/target.html
Agree! When we have a target option, we can solve https://github.com/oxc-project/oxc/pull/6023.