Description
Hey!
An idea just occurred to me which might improve performance still when using this plugin with ts-loader.
I've just been pondering usage of "isolatedModules": true,
in relation to using ts-loader alongside fork-ts-checker-webpack-plugin. Essentially using this option will speed up compilation times. Which is nice.
However, if we set this option in the tsconfig.json then presumably fork-ts-checker-webpack-plugin will be impacted by this and effectively cease to typecheck. So that's not good.
Would you consider / would it make sense to have fork-ts-checker-webpack-plugin set isolatedModules
to false
regardless of what it says in the tsconfig.json
? If that were the case then we could advise people using ts-loader with fork-ts-checker-webpack-plugin to use "isolatedModules": true,
in their tsconfig.json
for an extra perf boost.
What do you think?
cc @jamesbrantly
PS this is a badly documented compiler flag - there's a nice blog post on it though: http://weblogs.thinktecture.com/thomas/2016/05/tired-of-waiting-for-typescript-compilation.html