-
Notifications
You must be signed in to change notification settings - Fork 21
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 recommended caching settings for awesome-typescript-loader #95
Comments
@hjeti I will take care of this if you like. Do you happen to know why we have
While I don't think that it matters much to include our entire |
I believe WebStorm likes to have the full |
Yeah I think what I said about the entry point might be true for the |
I ran into the following issue on a different project: s-panferov/awesome-typescript-loader#528 Will need to investigate either adding fork-ts-checker plugin like the comments suggest, or maybe look into using ts-loader instead |
@flut1 I don't remember why I added the node_modules. If we are going to move away from awesome-typescript-loader maybe we can use the babel typescript preset in combination with the fork-ts-checker-webpack-plugin. I don't know how stable it is but it is used in create-react-app. |
I think I'll have to try both ts-loader, awesome-typescript-loader and babel-typescript in 1 or more projects to see which is fastest. I'll do some benchmarks and will let you know. Additional caching like hard-source-cache-loader seems to make a huge difference in all 3 of these. |
See: https://github.com/s-panferov/awesome-typescript-loader#performance-issues
These settings should speed up compilation. (we should only enable caching for development)
The text was updated successfully, but these errors were encountered: