From 2ddd454ddf28bb081f47fb227e01a0de6b677e37 Mon Sep 17 00:00:00 2001 From: Sam Najian Date: Wed, 16 Feb 2022 09:13:17 +0100 Subject: [PATCH] Disable typechecking for production build [MAILPOET-3140] --- mailpoet/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailpoet/webpack.config.js b/mailpoet/webpack.config.js index db3c435f83..9c67452cfa 100644 --- a/mailpoet/webpack.config.js +++ b/mailpoet/webpack.config.js @@ -66,7 +66,7 @@ const baseConfig = { asyncqueue: 'vendor/jquery.asyncqueue.js', }, }, - plugins: [new ForkTsCheckerWebpackPlugin()], + plugins: PRODUCTION_ENV ? [] : [new ForkTsCheckerWebpackPlugin()], module: { noParse: /node_modules\/lodash\/lodash\.js/, rules: [