Skip to content

Commit b16c269

Browse files
authored
docs: fix README example metro exclusionList
1 parent bd67e01 commit b16c269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ The `react-native` packager monitors the project's folder for javascript package
312312
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:
313313

314314
```js
315-
const blacklist = require('metro-config/src/defaults/blacklist');
315+
const blacklist = require('metro-config/src/defaults/exclusionList');
316316

317317
module.exports = {
318318
resolver: {

0 commit comments

Comments
 (0)