Skip to content

Error Checks block increases incremental build time #255

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

Closed
andyzg opened this issue Aug 2, 2016 · 1 comment
Closed

Error Checks block increases incremental build time #255

andyzg opened this issue Aug 2, 2016 · 1 comment

Comments

@andyzg
Copy link

andyzg commented Aug 2, 2016

During ts-loader's after-plugin callback, the error checks take a ton of time per incremental build. In the code base I'm currently working with, error checks suck up over 6 seconds of incremental build time.

All typescript files by default are currently checked for errors. I'm proposing that we add a regex to exclude files solely for error checks for incremental build time optimization.

My current build time went from 8s to 2s on average through a prototype of this change.

@andyzg
Copy link
Author

andyzg commented Aug 2, 2016

Duplicate of #78

@andyzg andyzg closed this as completed Aug 2, 2016
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