Disable typechecking for production build

[MAILPOET-3140]
This commit is contained in:
Sam Najian
2022-02-16 09:13:17 +01:00
committed by Veljko V
parent 2df36c3ff6
commit 2ddd454ddf

View File

@@ -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: [