diff --git a/packages/react-scripts/config/webpack.config.dev.js b/packages/react-scripts/config/webpack.config.dev.js index 130bd7cf537..a04d3b5ce6b 100644 --- a/packages/react-scripts/config/webpack.config.dev.js +++ b/packages/react-scripts/config/webpack.config.dev.js @@ -257,6 +257,7 @@ module.exports = { node: { fs: 'empty', net: 'empty', - tls: 'empty' + tls: 'empty', + child_process: 'empty' } }; diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index a2748b8ad0b..45e76adcea6 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -290,6 +290,7 @@ module.exports = { node: { fs: 'empty', net: 'empty', - tls: 'empty' + tls: 'empty', + child_process: 'empty' } };