diff --git a/packages/react-scripts/config/webpack.config.dev.js b/packages/react-scripts/config/webpack.config.dev.js index f860af4828c..45a7b47814e 100644 --- a/packages/react-scripts/config/webpack.config.dev.js +++ b/packages/react-scripts/config/webpack.config.dev.js @@ -287,6 +287,7 @@ module.exports = { fs: 'empty', net: 'empty', tls: 'empty', + child_process: 'empty', }, // Turn off performance hints during development because we don't do any // splitting or minification in interest of speed. These warnings become diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index b89e24c25a9..e0306e76a86 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -365,5 +365,6 @@ module.exports = { fs: 'empty', net: 'empty', tls: 'empty', + child_process: 'empty', }, };