Create-react-native-app: Better .gitignore after ejecting

Created on 24 Nov 2017  路  2Comments  路  Source: expo/create-react-native-app

Description

After ejecting, the .gitignore remains the same.
I think it's safe to assume we should rather merge the current .gitignore with the default .gitignore of ReactNative projects

Expected Behavior

The final .gitignore should rather look like this one after ejecting: https://github.com/facebook/react-native/blob/master/local-cli/templates/HelloWorld/_gitignore

Observed Behavior

Gitignore after ejection is not really suited to RN projects

node_modules/
.expo/
npm-debug.*

Most helpful comment

All 2 comments

pr would be accepted, issues are for bugs

Was this page helpful?
0 / 5 - 0 ratings