mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	feat: update example
This commit is contained in:
		| @@ -1,12 +1,12 @@ | ||||
| const path = require('path'); | ||||
|  | ||||
| const extraNodeModules = { | ||||
|   react: path.resolve(__dirname, 'node_modules/react'), | ||||
|   'react-native': path.resolve(__dirname, 'node_modules/react-native'), | ||||
|   'react-native-update': path.resolve(__dirname, '../..'), | ||||
|   '@babel/runtime': path.resolve(__dirname, 'node_modules/@babel/runtime'), | ||||
| }; | ||||
| const watchFolders = [path.resolve(__dirname, '../..')]; | ||||
| // const extraNodeModules = { | ||||
| //   react: path.resolve(__dirname, 'node_modules/react'), | ||||
| //   'react-native': path.resolve(__dirname, 'node_modules/react-native'), | ||||
| //   'react-native-update': path.resolve(__dirname, '../..'), | ||||
| //   '@babel/runtime': path.resolve(__dirname, 'node_modules/@babel/runtime'), | ||||
| // }; | ||||
| // const watchFolders = [path.resolve(__dirname, '../..')]; | ||||
|  | ||||
| module.exports = { | ||||
|   transformer: { | ||||
| @@ -17,8 +17,8 @@ module.exports = { | ||||
|       }, | ||||
|     }), | ||||
|   }, | ||||
|   resolver: { | ||||
|     extraNodeModules, | ||||
|   }, | ||||
|   watchFolders, | ||||
|   // resolver: { | ||||
|   //   extraNodeModules, | ||||
|   // }, | ||||
|   // watchFolders, | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm