Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zetachang authored Feb 1, 2019
1 parent e0893da commit a56b304
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,12 @@ $ npm install react-native-dotenv --save-dev

Add the `react-native-dotenv` preset to your **.babelrc** file at the project root.

### RN (0.56+) (Babel 7)
```json
{
"presets": ["module:metro-react-native-babel-preset", "module:react-native-dotenv"]
}
```

### RN (<0.56)
```json
{
"presets": ["metro-react-native-babel-preset", "react-native-dotenv"]
}
```

If you haven't got **.babelrc** set up for React Native, remember to install `metro-react-native-babel-preset` first.

```sh
Expand Down

0 comments on commit a56b304

Please sign in to comment.