Skip to content

Commit ba0757f

Browse files
committed
Dont run checker in prod builds
1 parent 2cabfee commit ba0757f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ let plugins = [
2020
integrity: true,
2121
integrityHashes: ['sha384'],
2222
}),
23-
new ForkTsCheckerWebpackPlugin(),
2423
];
2524

2625
if (isProduction) {
@@ -43,6 +42,8 @@ if (isProduction) {
4342
],
4443
}),
4544
]);
45+
} else {
46+
plugins.concat([new ForkTsCheckerWebpackPlugin()]);
4647
}
4748

4849
module.exports = {

0 commit comments

Comments
 (0)