Skip to content

Commit

Permalink
Disable optimization flag in Hermes bytecode generation
Browse files Browse the repository at this point in the history
  • Loading branch information
hypest committed Apr 8, 2020
1 parent 5906d24 commit 35e46d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"postbundle:android": "yarn un-patch-metro-no-file-watch",
"bundle": "yarn bundle:android && yarn bundle:android:bytecode && yarn bundle:ios && yarn clean:pot && yarn genstrings",
"bundle:android": "mkdir -p bundle/android && react-native bundle --platform android --dev false --entry-file index.js --assets-dest bundle/android --bundle-output bundle/android/App.js --sourcemap-output bundle/android/App.js.map",
"bundle:android:bytecode": "./node_modules/hermes-engine/`node -e \"const platform=require('os').platform();console.log(platform === 'darwin' ? 'osx-bin' : (platform === 'linux' ? 'linux64-bin' : (platform === 'win32' ? 'win64-bin' : 'unsupported-os')));\"`/hermes -emit-binary -O -out bundle/android/App.bytecode bundle/android/App.js -output-source-map",
"bundle:android:bytecode": "./node_modules/hermes-engine/`node -e \"const platform=require('os').platform();console.log(platform === 'darwin' ? 'osx-bin' : (platform === 'linux' ? 'linux64-bin' : (platform === 'win32' ? 'win64-bin' : 'unsupported-os')));\"`/hermes -emit-binary -out bundle/android/App.bytecode bundle/android/App.js -output-source-map",
"bundle:ios": "mkdir -p bundle/ios && react-native bundle --platform ios --dev false --entry-file index.js --assets-dest bundle/ios --bundle-output bundle/ios/App.js --sourcemap-output bundle/ios/App.js.map",
"i18n-cache": "node i18n-cache/index.js",
"i18n-cache:force": "cross-env REFRESH_I18N_CACHE=1 node i18n-cache/index.js",
Expand Down

0 comments on commit 35e46d6

Please sign in to comment.