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:
David
2019-08-30 14:02:31 +02:00
committed by GitHub
parent a928da7f26
commit 89abc77b22
6 changed files with 90 additions and 80 deletions

View File

@ -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,
}),
]
}
};