From b45a20d698f4a8c6512dcbbb7cc0bae8247416f6 Mon Sep 17 00:00:00 2001 From: Peter Stakoun Date: Mon, 1 Mar 2021 23:22:21 -0500 Subject: [PATCH] Update blacklist import to match updated metro-config --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 44e76ff..467f0d9 100644 --- a/README.md +++ b/README.md @@ -316,7 +316,7 @@ The `react-native` packager monitors the project's folder for javascript package To avoid this error, instruct the `react-native` packager to ignore the `nodejs-project` and the platform folders where it is copied to. Edit the `metro.config.js` file in your `react-native` project's root path with the following contents if you're using recent versions of `react-native` (`>= v0.60`) and add the `blacklist` require and the following `resolver` to the module exports: ```js -const blacklist = require('metro-config/src/defaults/blacklist'); +const blacklist = require('metro-config/src/defaults/exclusionList'); module.exports = { resolver: {