react-native-webview.git

react-native.config.js 291B

123456789
  1. 'use strict';
  2. if (process.argv.includes('--use-react-native-macos')) {
  3. process.argv = process.argv.filter(arg => arg !== '--use-react-native-macos');
  4. process.argv.push('--config=metro.config.macos.js');
  5. module.exports = {
  6. reactNativePath: 'node_modules/react-native-macos',
  7. };
  8. }