Skip to content

Commit

Permalink
Update docs/src/guides/publishing.md
Browse files Browse the repository at this point in the history
Co-authored-by: jhugman <[email protected]>
  • Loading branch information
Johennes and jhugman authored Oct 16, 2024
1 parent 4180f85 commit e4ba61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/guides/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ scripts: {
"ubrn:ios": "ubrn build ios --config ubrn.config.yaml --and-generate && (cd example/ios && pod install)",
"ubrn:android": "ubrn build android --config ubrn.config.yaml --and-generate",
"ubrn:checkout": "ubrn checkout --config ubrn.config.yaml",
+ "postinstall": "yarn ubrn:checkout && yarn ubrn:android && yarn ubrn:ios",
+ "postinstall": "yarn ubrn:checkout && yarn ubrn:android --release && yarn ubrn:ios --release",
```

Make sure to enable release mode in `ubrn.config` before distributing your package as the impact on size and performance can be dramatic.
Expand Down

0 comments on commit e4ba61c

Please sign in to comment.