Skip to content
New issue

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

Export logic for converting tsconfig into swcrc (or publish it as a separate NPM package) #1983

Open
GreenTea124 opened this issue Mar 31, 2023 · 0 comments

Comments

@GreenTea124
Copy link

ts-node is able to convert tsconfig into SWC config:
https://github.com/TypeStrong/ts-node/blob/main/src/transpilers/swc.ts

Perhaps, this functionality could be exported, or extracted into a separate NPM package. It is something that would be useful in more scenarios (webpack/esbuild/vite configs and plugins).

There is a similar project already (https://github.com/Songkeys/tsconfig-to-swcconfig), bit it seems like something that deserves a large and trustworthy maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant