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 basePath: process.env.EXPO_E2E_BASE_PATH || undefined, 27 tsconfigPaths: process.env.EXPO_USE_PATH_ALIASES, 28 typedRoutes: true, 29 }, 30 web: { 31 output: process.env.EXPO_USE_STATIC ?? 'static', 32 bundler: 'metro', 33 }, 34 plugins: [ 35 [ 36 'expo-router', 37 { 38 asyncRoutes: process.env.E2E_ROUTER_ASYNC, 39 // THIS WILL BREAK YOUR APP -- DO NOT USE! 40 unstable_src: path.join('__e2e__', process.env.E2E_ROUTER_SRC ?? 'static-rendering', 'app'), 41 origin: 'https://smart-symbiote.netlify.app/', 42 }, 43 ], 44 ], 45}; 46