1const path = require('node:path'); 2/** @type {import('expo/config').ExpoConfig} */ 3module.exports = { 4 name: 'Router E2E', 5 slug: 'expo-router-e2e', 6 7 sdkVersion: 'UNVERSIONED', 8 icon: './assets/icon.png', 9 scheme: 'router-e2e', 10 11 ios: { 12 supportsTablet: true, 13 bundleIdentifier: 'dev.expo.routere2e', 14 }, 15 android: { 16 package: 'dev.expo.routere2e', 17 }, 18 // For testing the output bundle 19 jsEngine: process.env.E2E_ROUTER_SRC ? 'jsc' : 'hermes', 20 splash: { 21 image: './assets/splash.png', 22 resizeMode: 'contain', 23 backgroundColor: '#ffffff', 24 }, 25 experiments: { 26 tsconfigPaths: process.env.EXPO_USE_PATH_ALIASES, 27 typedRoutes: true, 28 }, 29 web: { 30 output: process.env.EXPO_USE_STATIC === '1' ? 'static' : 'single', 31 bundler: 'metro', 32 }, 33 plugins: [ 34 [ 35 'expo-router', 36 { 37 asyncRoutes: process.env.E2E_ROUTER_ASYNC, 38 // THIS WILL BREAK YOUR APP -- DO NOT USE! 39 unstable_src: path.join('__e2e__', process.env.E2E_ROUTER_SRC ?? 'static-rendering', 'app'), 40 origin: 'https://smart-symbiote.netlify.app/', 41 }, 42 ], 43 ], 44}; 45