mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 16:32:28 +08:00
Build: Optional skipping of typescript checking in dev bundler (#18772)
* Build: Removed typescript checking from dev bundler - when switching branches and trying out features, TS checking and bundling are eating up a lot of CPU - most of us are using an editor with typechecking support - this commit removes type checking from the dev bundler - we still have type checking enabled as a precommit hook and as part of the prod bundler * Adds new npm script: start:noTsCheck
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
const path = require('path');
|
||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
target: 'web',
|
||||
@ -72,10 +71,5 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new ForkTsCheckerWebpackPlugin({
|
||||
checkSyntacticErrors: true,
|
||||
}),
|
||||
]
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user