Commit 6644054f authored by Anthony's avatar Anthony Committed by Dan Abramov
Browse files

provide empty mock for child_process so importing libraries with it works (#3033)

parent 51d0df49
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 2 additions and 0 deletions
+2 -0
...@@ -280,6 +280,7 @@ module.exports = { ...@@ -280,6 +280,7 @@ module.exports = {
fs: 'empty', fs: 'empty',
net: 'empty', net: 'empty',
tls: 'empty', tls: 'empty',
child_process: 'empty',
}, },
// Turn off performance hints during development because we don't do any // Turn off performance hints during development because we don't do any
// splitting or minification in interest of speed. These warnings become // splitting or minification in interest of speed. These warnings become
......
...@@ -358,5 +358,6 @@ module.exports = { ...@@ -358,5 +358,6 @@ module.exports = {
fs: 'empty', fs: 'empty',
net: 'empty', net: 'empty',
tls: 'empty', tls: 'empty',
child_process: 'empty',
}, },
}; };
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment