-
-
Notifications
You must be signed in to change notification settings - Fork 251
Closed
Labels
Description
Current behavior
Incremental typechecks are very slow.
We have a project that leverages Project References in Typescript. As the latest release of your plugin supports references we tried to upgrade. We are seeing an unusable drop in performance when type-checking this code.
For comparison, here is the same code change ran with tsc --build --incremental
Here is our config:
new ForkTsCheckerWebpackPlugin({
async: true,
typescript: {
mode: 'write-references',
configFile: path.resolve(APP_ROOT, 'tsconfig.json'),
configOverwrite: {
compilerOptions: {
incremental: true
}
},
profile: true,
build: true
}
}),
Expected behavior
Incremental typechecks should be quick.
Environment
- fork-ts-checker-webpack-plugin: 5.0.0
- typescript: 3.7.2
- eslint: n/a
- webpack: 4.39.3
- os: macos
morgothulhu, Voronar and AlonMiz

