Skip to content

Commit

Permalink
build: speed up the TypeScript transpilation
Browse files Browse the repository at this point in the history
Disable the type-checking while transpiling the TS files, as the ForkTsCheckerWebpackPlugin
is already handling this within another process
  • Loading branch information
tinogo committed May 25, 2020
1 parent 1724eda commit 5c18f47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/compiler/defaults/webpack-defaults.ts
Expand Up @@ -30,6 +30,7 @@ export const webpackDefaultsFactory = (
{
loader: 'ts-loader',
options: {
transpileOnly: true,
configFile: tsConfigFile,
getCustomTransformers: (program: any) => ({
before: plugins.beforeHooks.map(hook => hook(program)),
Expand Down

0 comments on commit 5c18f47

Please sign in to comment.