forked from Alex/Pterodactyl-Panel
Dont run checker in prod builds
This commit is contained in:
parent
2cabfeec15
commit
ba0757f05c
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user