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

Use swc to speed up typescript compilation ? #750

Open
spaenleh opened this issue Jan 27, 2025 · 1 comment
Open

Use swc to speed up typescript compilation ? #750

spaenleh opened this issue Jan 27, 2025 · 1 comment
Assignees
Labels
build Build and developer operations dependencies Pull requests that update a dependency file

Comments

@spaenleh
Copy link
Member

The current typescript compilation is around 1minute.

Maybe we could speed up the time taken for the compilation by using swc.

@spaenleh spaenleh self-assigned this Jan 27, 2025
@spaenleh spaenleh added build Build and developer operations dependencies Pull requests that update a dependency file labels Jan 27, 2025
@spaenleh
Copy link
Member Author

After some research I have realised that there is currently no good alternative for checking typescript code. Efforts have gone into creating efficient parsers, or bundlers (like swc and esbuild).

The better thing to do is to investigate why the checking takes so long and to fix the code that is responsible for it.

This video has very good ideas and methods to do just that:
https://www.youtube.com/watch?v=lJ63-j0OHG0

spaenleh pushed a commit that referenced this issue Feb 6, 2025
* feat: create use memberAction hook

* feat: turn useActions start and end date to optional

* fix: api of get member actions type

* fix: renaming get member actions hook functions

* feat: define hook in scope of describe to use inside tests blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build and developer operations dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant