Files
orca/mobile/app.config.js
T
Jinwoo Hong d53cbed43f revert: hold mobile push feature for user testing (#19203)
Reverts 3160b54c69. Restore through a separate draft PR after user validation.
2026-09-07 00:30:21 -04:00

23 lines
454 B
JavaScript

const app = require('./app.json')
module.exports = () => {
const config = app.expo
const routerRoot = process.env.ORCA_EXPO_ROUTER_ROOT
if (!routerRoot) {
return config
}
const webConfig = { ...config }
delete webConfig.android
delete webConfig.icon
delete webConfig.ios
delete webConfig.splash
return {
...webConfig,
platforms: ['web'],
extra: {
...config.extra,
router: { root: routerRoot }
}
}
}