-
Notifications
You must be signed in to change notification settings - Fork 227
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
Compilation very slow #220
Comments
This seems to be an issue with the latest version of the plugin. I downgraded to 1.1.7 and it went faster. |
The downgrade didn't resolve the issue for me, still very slow. I have also noticed that if I edit more than 1 |
Can confirm that this is still the case now (using serverless-plugin-typescript: 1.1.7, 1.2.0 and 2.1.0). Using skipLibCheck makes the compilation a bit faster, about 10 seconds |
i'm facing the same issue with latest release "2.1.1" any updates/workaround ? |
I have the same problem. I have about 800 source files in my project and it takes about 30 sec to recompile when I change a single file. I have verified that typescript is running in "watch" mode inside serverless-plugin-typescript, so I think this is probably a limitation of typescript itself rather than something that serverless-plugin-typescript is doing wrong. If anyone has any tips to improve compile time they would be gratefully received. Some discussion on this here: microsoft/TypeScript#46420 |
Its 2023 & this is still an issue |
This flag worked wonders for me it’s now under a second thanks for this tip. Was around 20 seconds before |
Hello,
every time I change one of the typescript files, it takes about 20 seconds to compile. I am currently using the following tsconfig.json configuration:
Any reason why the compilation times are so slow?
The text was updated successfully, but these errors were encountered: