Skip to content

Commit

Permalink
Shim child_process
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypopp committed Sep 14, 2017
1 parent 61c2244 commit 07d9c05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ module.exports = {
node: {
fs: 'empty',
net: 'empty',
tls: 'empty'
tls: 'empty',
child_process: 'empty'
}
};
3 changes: 2 additions & 1 deletion packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ module.exports = {
node: {
fs: 'empty',
net: 'empty',
tls: 'empty'
tls: 'empty',
child_process: 'empty'
}
};

0 comments on commit 07d9c05

Please sign in to comment.