File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ const paths = require('./paths');
24
24
const ManifestPlugin = require ( 'webpack-manifest-plugin' ) ;
25
25
const ModuleNotFoundPlugin = require ( 'react-dev-utils/ModuleNotFoundPlugin' ) ;
26
26
const ForkTsCheckerWebpackPlugin = require ( 'fork-ts-checker-webpack-plugin-alt' ) ;
27
+ const typescriptFormatter = require ( 'react-dev-utils/typescriptFormatter' ) ;
27
28
// @remove -on-eject-begin
28
29
const getCacheIdentifier = require ( 'react-dev-utils/getCacheIdentifier' ) ;
29
30
// @remove -on-eject-end
@@ -419,6 +420,8 @@ module.exports = {
419
420
checkSyntacticErrors : true ,
420
421
tsconfig : paths . appTsConfig ,
421
422
watch : paths . appSrc ,
423
+ silent : true ,
424
+ formatter : typescriptFormatter ,
422
425
} ) ,
423
426
] . filter ( Boolean ) ,
424
427
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const paths = require('./paths');
28
28
const getClientEnvironment = require ( './env' ) ;
29
29
const ModuleNotFoundPlugin = require ( 'react-dev-utils/ModuleNotFoundPlugin' ) ;
30
30
const ForkTsCheckerWebpackPlugin = require ( 'fork-ts-checker-webpack-plugin-alt' ) ;
31
+ const typescriptFormatter = require ( 'react-dev-utils/typescriptFormatter' ) ;
31
32
// @remove -on-eject-begin
32
33
const getCacheIdentifier = require ( 'react-dev-utils/getCacheIdentifier' ) ;
33
34
// @remove -on-eject-end
@@ -539,6 +540,8 @@ module.exports = {
539
540
checkSyntacticErrors : true ,
540
541
tsconfig : paths . appTsConfig ,
541
542
watch : paths . appSrc ,
543
+ silent : true ,
544
+ formatter : typescriptFormatter ,
542
545
} ) ,
543
546
] . filter ( Boolean ) ,
544
547
// Some libraries import Node modules but don't use them in the browser.
You can’t perform that action at this time.
0 commit comments