Dont run checker in prod builds
This commit is contained in:
parent
2cabfeec15
commit
ba0757f05c
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,6 @@ let plugins = [
|
||||||
integrity: true,
|
integrity: true,
|
||||||
integrityHashes: ['sha384'],
|
integrityHashes: ['sha384'],
|
||||||
}),
|
}),
|
||||||
new ForkTsCheckerWebpackPlugin(),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
if (isProduction) {
|
if (isProduction) {
|
||||||
|
@ -43,6 +42,8 @@ if (isProduction) {
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
]);
|
]);
|
||||||
|
} else {
|
||||||
|
plugins.concat([new ForkTsCheckerWebpackPlugin()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
Loading…
Reference in a new issue