-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add prebundle
to bundle
command to force update the i18n localization files
#3423
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ | |
"prern-bundle": "patch-package --patch-dir gutenberg/packages/react-native-editor/metro-patch", | ||
"rn-bundle": "react-native bundle", | ||
"postrn-bundle": "patch-package --reverse --patch-dir gutenberg/packages/react-native-editor/metro-patch", | ||
"bundle": "npm run clean; npm run bundle:js && npm run genstrings", | ||
"bundle": "npm run clean; npm run core prebundle && npm run bundle:js && npm run genstrings", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch! I suppose the pre scripts we have in place (e.g. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, besides the |
||
"bundle:js": "npm run bundle:android && npm run bundle:ios", | ||
"bundle:android": "npm run bundle:android:text && npm run bundle:android:bytecode", | ||
"bundle:android:text": "mkdir -p bundle/android && npm run rn-bundle -- --platform android --dev false --entry-file ./index.js --assets-dest ./bundle/android --bundle-output ./bundle/android/App.text.js --sourcemap-output ./bundle/android/App.text.js.map", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also have to update the localization files when publishing the bundle for Android.