Skip to content

Instantly share code, notes, and snippets.

@densa
Created November 2, 2017 10:46
Show Gist options
  • Save densa/7fbc2f5dee7e62cca5eb4abdf55d33ec to your computer and use it in GitHub Desktop.
Save densa/7fbc2f5dee7e62cca5eb4abdf55d33ec to your computer and use it in GitHub Desktop.
const blacklist = require('metro-bundler/src/blacklist');
module.exports = {
getBlacklistRE: function() {
return blacklist([/[^e]\/node_modules\/react-native\/.*/]);
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment