4 ms·
Webpack4 got much slower with startup and recompilation of TS compared to 3.
by _Codemonkeyism 8y ago
Webpack4 got much slower with startup and recompilation of TS compared to 3.
- noir_lord 8y agoCurious that wasn't my experience, it was about the same.
- johnny_reilly 8y agots-loader / fork-ts-checker-webpack-plugin maintainer here. I'm sorry to hear that's been your experience. It hasn't been my own; it could be worth you comparing your setup with one of the examples available. These are some good candidates: https://github.com/TypeStrong/ts-loader/tree/master/examples/thread-loader https://github.com/TypeStrong/ts-loader/tree/master/examples... https://github.com/TypeStrong/ts-loader/tree/master/examples/core-js https://github.com/TypeStrong/ts-loader/tree/master/examples... https://github.com/TypeStrong/ts-loader/tree/master/examples/fast-incremental-builds https://github.com/TypeStrong/ts-loader/tree/master/examples... (written by Kenneth Chau of the Outlook.com team) You may of course you may be using another typescript loader (there are several!). I thought it worth sharing in case you are using ts-loader and your config is catching you out. Best of luck!
- noir_lord 8y agoAs a ts-loader/fork-ts user thank you for all the work you do!.
- _Codemonkeyism 8y agoThanks a lot, I really appreciate your comment and will take a look. Keep up the great work!
- alexanderchr 8y agoIf you use Babel 7 alongside TS you can use the typescript preset to speed up builds a lot. The downside is that you don’t get typechecking on compilation.
- deleted 8y ago[deleted]