1234567891011121314151617181920 |
-
-
- const path = require('path');
- const blacklist = require('metro-config/src/defaults/blacklist');
-
- const rnmPath = path.resolve(__dirname, 'node_modules/react-native-macos');
-
- module.exports = {
- resolver: {
- extraNodeModules: {
- 'react-native': rnmPath,
- },
- platforms: ['macos', 'ios', 'android'],
- blacklistRE: blacklist([/node_modules\/react-native\/.*/])
- },
- };
|