— entry-file app 進入點檔案名稱 (index.android.js)
— platform 要編譯 bundle 的目標平台 (ios or android)
— dev React Native 除錯模式開關 (true or false)
— bundle-output 處理完的 bundle 的儲存位置 (android/app/src/main/assets/index.android.bundle)
— assets-dest 專案使用的靜態檔案(圖片...)的儲存位置(android/app/src/main/res)
$ react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res