From ba0757f05cbc99ba0de17e9f40394ac52e893f43 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 15 Dec 2019 18:50:35 -0800 Subject: [PATCH] Dont run checker in prod builds --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 7266ef700..9d1fc731d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -20,7 +20,6 @@ let plugins = [ integrity: true, integrityHashes: ['sha384'], }), - new ForkTsCheckerWebpackPlugin(), ]; if (isProduction) { @@ -43,6 +42,8 @@ if (isProduction) { ], }), ]); +} else { + plugins.concat([new ForkTsCheckerWebpackPlugin()]); } module.exports = {