Update dependency fork-ts-checker-webpack-plugin to v6 (#40891)

* Update dependency fork-ts-checker-webpack-plugin to v6

* Fix compatibility issue

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
This commit is contained in:
renovate[bot]
2021-11-01 09:25:55 +01:00
committed by GitHub
parent 268c20203b
commit 134c64f1a5
4 changed files with 10 additions and 73 deletions

View File

@ -62,7 +62,7 @@
"eslint": "7.21.0",
"execa": "^5.1.1",
"file-loader": "6.2.0",
"fork-ts-checker-webpack-plugin": "1.0.0",
"fork-ts-checker-webpack-plugin": "6.4.0",
"fs-extra": "^10.0.0",
"globby": "^10.0.1",
"html-loader": "0.5.5",

View File

@ -129,9 +129,10 @@ const getCommonPlugins = (options: WebpackConfigurationOptions) => {
},
]),
new ForkTsCheckerWebpackPlugin({
tsconfig: path.join(process.cwd(), 'tsconfig.json'),
// Only report problems in detected in plugin's code
reportFiles: ['**/*.{ts,tsx}'],
typescript: { configFile: path.join(process.cwd(), 'tsconfig.json') },
issue: {
include: [{ file: '**/*.{ts,tsx}' }],
},
}),
];
};