Skip to content

Commit

Permalink
add ram bundle to android template (#24264)
Browse files Browse the repository at this point in the history
Summary:
I plan to do this for a long time :)
Still a little surprised so much people not know it https://twitter.com/geekykaran/status/1112756026611257344

[Android] [Feature] - add ram bundle to android template
Pull Request resolved: #24264

Differential Revision: D14725396

Pulled By: cpojer

fbshipit-source-id: b8e424f0be81978465259c82024f206d232acb55
  • Loading branch information
gengjiawen authored and facebook-github-bot committed Apr 2, 2019
1 parent 6df2ede commit 4478e50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions template/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ import com.android.build.OutputFile
* // the entry file for bundle generation
* entryFile: "index.android.js",
*
* // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format
* bundleCommand: "ram-bundle",
*
* // whether to bundle JS and assets in debug mode
* bundleInDebug: false,
*
Expand Down

0 comments on commit 4478e50

Please sign in to comment.