4 ms·
In my experience using webpack, once you’ve configured incremental builds, the only slow part is TypeScript type checking. That’s solved by doing it async and h
by koolba 6y ago
In my experience using webpack, once you’ve configured incremental builds, the only slow part is TypeScript type checking. That’s solved by doing it async and having the dev build be compile only. Even a huge project builds after a single file change faster than you can notice.
- john_miller 6y agoCould you share a link or keyword about async type checking and 'compile only'?
- koolba 6y agoSee the sibling comment.
- bdefore 6y agoCan you elaborate on how to configure TS to run type check asynchronously?
- koolba 6y agoHere's the plugin: https://github.com/TypeStrong/fork-ts-checker-webpack-plugin https://github.com/TypeStrong/fork-ts-checker-webpack-plugin