mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:02:12 +08:00
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:
@ -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",
|
||||
|
@ -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}' }],
|
||||
},
|
||||
}),
|
||||
];
|
||||
};
|
||||
|
Reference in New Issue
Block a user