We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to pass
transformSync(code, filename, { target: 'node' })
to @swc-node/core 1.8.2 and it seems to reject the target
@swc-node/core
1.8.2
unknown variant `node`, expected one of `es3`, `es5`, `es2015`, `es2016`, `es2017`, `es2018`, `es2019`, `es2020`, `es2021`, `es2022` at line 1 column 439
which is weird because https://swc.rs/docs/configuration/supported-browsers#targets seems to make it clear that node is an option. I've contributed to this repo before so happy to help, but curious if you know what's going on?
node
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to pass
to
@swc-node/core
1.8.2
and it seems to reject the targetwhich is weird because https://swc.rs/docs/configuration/supported-browsers#targets seems to make it clear that
node
is an option. I've contributed to this repo before so happy to help, but curious if you know what's going on?The text was updated successfully, but these errors were encountered: