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

Faster TypeScript SDK generation, maybe with faster .dts files generation via Isolated Declarations + OXC #5477

Open
remorses opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
feature Requests for new features. product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages

Comments

@remorses
Copy link

Feature Description

Currently the typescript SDK generator uses tsc to turn the source files into js and .dts files. This is usually a slow step in my experience.

I am not totally sure if this is really the case, but the SDK generation is slow, not sure what is the step that takes the longest, is there some documentation on this?

Proposed Generated Code (Optional)

By enableing typescript isolated declaration option and using oxc-transform you could speed up the files and .dts files generation by at least 10x

@remorses remorses added feature Requests for new features. product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Requests for new features. product/sdk-generator Fern's SDK Generator that outputs client libraries in 7 languages
Development

No branches or pull requests

2 participants