TypeStrong / fork-ts-checker-webpack-plugin

Webpack plugin that runs typescript type checker on a separate process.
MIT License
1.96k stars 239 forks source link

fix: ignore package.json file to prevent invalid code-path #727

Closed piotr-oles closed 2 years ago

piotr-oles commented 2 years ago

The error in #674 is caused by a change of the package.json file during the build, which triggers some code path that is valid in WatchCompilerHostOfConfigFile but not in WatchCompilerHostOfFilesAndCompilerOptions that this plugin uses (because of configOverwrite option). This PR ignores the package.json file in watcher as a work-around.

Closes: #674

piotr-oles commented 2 years ago

:tada: This PR is included in version 7.2.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: