Skip to content

Commit

Permalink
chore: configure release mode bundling paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jbroma committed Jun 10, 2024
1 parent 486ac1e commit 635320d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
12 changes: 10 additions & 2 deletions packages/TesterApp/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@
"bundleIdentifier": "com.testerapp"
},
"resources": {
"android": ["build/"],
"ios": ["build/"]
"android": [
"build/output/android/index.android.bundle",
"build/output/android/src_asyncChunks_Async_local_tsx.chunk.bundle",
"build/output/android/res"
],
"ios": [
"build/output/ios/main.jsbundle",
"build/output/ios/src_asyncChunks_Async_local_tsx.chunk.bundle",
"build/output/ios/assets"
]
}
}
18 changes: 9 additions & 9 deletions packages/TesterApp/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- boost (1.83.0)
- callstack-repack (4.0.0):
- callstack-repack (4.1.1):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -1211,7 +1211,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- ReactTestApp-DevSupport (3.7.3):
- ReactTestApp-DevSupport (3.7.4):
- React-Core
- React-jsi
- ReactTestApp-Resources (1.0.0-dev)
Expand Down Expand Up @@ -1342,7 +1342,7 @@ DEPENDENCIES:
- React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`)
- React-utils (from `../node_modules/react-native/ReactCommon/react/utils`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- "ReactNativeHost (from `../../../node_modules/.pnpm/react-native-test-app@3.7.3_react-native@0.74.1_@babel+core@7.24.0_@babel+preset-env@7.24.0_@_q3na7zbqmjzknft2lhpu5cnz5i/node_modules/@rnx-kit/react-native-host`)"
- "ReactNativeHost (from `../../../node_modules/.pnpm/react-native-test-app@3.7.4_react-native@0.74.1_@babel+core@7.24.0_@babel+preset-env@7.24.0_@_xo2g2bdwyxr2iccu654qlqc2hi/node_modules/@rnx-kit/react-native-host`)"
- ReactTestApp-DevSupport (from `../node_modules/react-native-test-app`)
- ReactTestApp-Resources (from `..`)
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
Expand Down Expand Up @@ -1466,7 +1466,7 @@ EXTERNAL SOURCES:
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
ReactNativeHost:
:path: "../../../node_modules/.pnpm/react-native-test-app@3.7.3_react-native@0.74.1_@babel+core@7.24.0_@babel+preset-env@7.24.0_@_q3na7zbqmjzknft2lhpu5cnz5i/node_modules/@rnx-kit/react-native-host"
:path: "../../../node_modules/.pnpm/react-native-test-app@3.7.4_react-native@0.74.1_@babel+core@7.24.0_@babel+preset-env@7.24.0_@_xo2g2bdwyxr2iccu654qlqc2hi/node_modules/@rnx-kit/react-native-host"
ReactTestApp-DevSupport:
:path: "../node_modules/react-native-test-app"
ReactTestApp-Resources:
Expand All @@ -1480,7 +1480,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
callstack-repack: cbf8c428d7450053e3d46c987c5929928986f5a6
callstack-repack: 13c4bb5459eb864c64f3f00052877481da47d777
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
FBLazyVector: 898d14d17bf19e2435cafd9ea2a1033efe445709
fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120
Expand Down Expand Up @@ -1534,15 +1534,15 @@ SPEC CHECKSUMS:
React-runtimescheduler: e2152ed146b6a35c07386fc2ac4827b27e6aad12
React-utils: 3285151c9d1e3a28a9586571fc81d521678c196d
ReactCommon: f42444e384d82ab89184aed5d6f3142748b54768
ReactNativeHost: 35df5fb9d51dc99eaec21e993642f1232ec8b380
ReactTestApp-DevSupport: 9052e9a0ba3a96a3cc574ee66c7b6089ee76b341
ReactTestApp-Resources: 50f9d362ae86b0a695da1257047c10bda2aff598
ReactNativeHost: 76f58edded6537ed8a03cfce6327e31d667bd802
ReactTestApp-DevSupport: 21c31f059f9dfb146ae31469b50a4ccb5ff221f3
ReactTestApp-Resources: 0fa9146ee546fb7447198c96d852a56b8e3bb94a
RNCAsyncStorage: f2add1326156dc313df59d855c11f459059e4ffd
RNSVG: 7b44aa4df2587946e28496adf2e10a16f08c1250
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
SwiftyRSA: 8c6dd1ea7db1b8dc4fb517a202f88bb1354bc2c6
Yoga: b9a182ab00cf25926e7f79657d08c5d23c2d03b0

PODFILE CHECKSUM: 591811811bdab95f1675c6871b0554706bf77020
PODFILE CHECKSUM: 6d7cbe03444d5e87210979fb32a0eca299d758fe

COCOAPODS: 1.15.2
4 changes: 2 additions & 2 deletions packages/TesterApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native webpack-start",
"bundle:android": "react-native webpack-bundle --platform android --entry-file index.js --dev=false --bundle-output build/output/android/index.android.bundle",
"bundle:ios": "react-native webpack-bundle --platform ios --entry-file index.js --dev=false --bundle-output build/output/ios/main.jsbundle",
"bundle:android": "react-native webpack-bundle --platform android --entry-file index.js --dev=false --bundle-output build/output/android/index.android.bundle --assets-dest build/output/android/res",
"bundle:ios": "react-native webpack-bundle --platform ios --entry-file index.js --dev=false --bundle-output build/output/ios/main.jsbundle --assets-dest build/output/ios",
"webpack": "webpack -c webpack.config.js --env platform=android --env mode=production",
"test": "vitest run",
"serve-remote-assets:android": "adb reverse tcp:9999 tcp:9999 && pnpm http-server -p 9999 build/output/android/remote",
Expand Down

0 comments on commit 635320d

Please sign in to comment.