1 min readJan 19, 2018
Awesome article. Very helpful.
To bring a bit of our experience to this, a very big improvement we got on our side was using HappyPack. It has cut our build time in half (it was more than a minute long, we have a very big TS project).
For TypeScript projects, a great stuff to do is also parallelising type-checking.
Using any TS loader, configure it as transpileOnly
, and then use ForkTsCheckerWebpackPlugin. It will type-check your project in another process.
It did wonders for us as well.
Cheers!