Dont run checker in prod builds

This commit is contained in:
Dane Everitt 2019-12-15 18:50:35 -08:00
parent 2cabfeec15
commit ba0757f05c
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -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 = {