mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Dont run checker in prod builds
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user