mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 06:41:49 +08:00
toolkit: expose maxWorkers option for plugin build & test tasks (#27724)
This commit is contained in:
@ -87,21 +87,21 @@ module.exports = (env = {}) =>
|
||||
env.noTsCheck
|
||||
? new webpack.DefinePlugin({}) // bogus plugin to satisfy webpack API
|
||||
: new ForkTsCheckerWebpackPlugin({
|
||||
eslint: {
|
||||
enabled: true,
|
||||
files: ['public/app/**/*.{ts,tsx}', 'packages/*/src/**/*.{ts,tsx}'],
|
||||
options: {
|
||||
cache: true,
|
||||
eslint: {
|
||||
enabled: true,
|
||||
files: ['public/app/**/*.{ts,tsx}', 'packages/*/src/**/*.{ts,tsx}'],
|
||||
options: {
|
||||
cache: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
typescript: {
|
||||
mode: 'write-references',
|
||||
diagnosticOptions: {
|
||||
semantic: true,
|
||||
syntactic: true,
|
||||
typescript: {
|
||||
mode: 'write-references',
|
||||
diagnosticOptions: {
|
||||
semantic: true,
|
||||
syntactic: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
}),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: 'grafana.[name].[hash].css',
|
||||
}),
|
||||
|
Reference in New Issue
Block a user