Last active
April 22, 2022 06:39
-
-
Save ikayz/d5f727fd42ea3677171baed60386518f to your computer and use it in GitHub Desktop.
React Native Metro Bundler Closing After Starting App
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copy the code below and replace in [project_name]\node_modules\metro-config\src\defaults\blacklist.js | |
// Solution by https://github.com/tusharojha | |
// Note you'd have to do this for every project | |
var sharedBlacklist = [ | |
/node_modules[\/\\]react[\/\\]dist[\/\\].*/, | |
/website\/node_modules\/.*/, | |
/heapCapture\/bundle.js /, | |
/.*\/__tests__\/.*/ | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment