From b9636574fcc7f9d6a7a474fd66619ffc1ef5e230 Mon Sep 17 00:00:00 2001 From: Julia Friesel <julia.friesel@gmail.com> Date: Wed, 16 Jan 2019 19:35:45 +0100 Subject: [PATCH] Avoid naming collision error --- rn-cli.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 rn-cli.config.js diff --git a/rn-cli.config.js b/rn-cli.config.js new file mode 100644 index 00000000..43fc45e9 --- /dev/null +++ b/rn-cli.config.js @@ -0,0 +1,13 @@ +// https://github.com/janeasystems/nodejs-mobile-react-native#duplicate-module-name + +const blacklist = require('metro-config/src/defaults/blacklist') + +module.exports = { + resolver:{ + blacklistRE: blacklist([ + /nodejs-assets\/.*/, + /android\/.*/, + /ios\/.*/ + ]) + }, +} -- GitLab