Skip to content
This repository was archived by the owner on Mar 10, 2021. It is now read-only.

Commit 68034e0

Browse files
committed
Updates readme.
1 parent 6d6fb51 commit 68034e0

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ Modify your `.babelrc` in your home directory to add this plugin.
2828
```json
2929
{
3030
"presets": ["react-native"],
31-
"plugins": ["ignite-ignore-reactotron"]
31+
"env": {
32+
"production": {
33+
"plugins": ["ignite-ignore-reactotron"]
34+
}
35+
}
3236
}
3337
```
3438

@@ -47,11 +51,15 @@ Modify your `.babelrc` in your home directory to add this plugin.
4751

4852
To give this a trial-run in production mode:
4953

50-
In `bash`:
51-
```bash
52-
NODE_ENV=production npm start -- --reset-cache
54+
```sh
55+
react-native run-ios --configuration Release
5356
```
5457

58+
# Thanks
59+
60+
* [Richard Evans](https://github.com/rmevans9) for helping me debug the babel env environment
61+
* [James Kyle](https://github.com/thejameskyle) for amazing babel [handbook](https://github.com/thejameskyle/babel-handbook)
62+
5563
# Change Log
5664

5765
### 0.1.0 - June 6, 2017

0 commit comments

Comments
 (0)