1{ 2 "title": "expo-router config plugin options", 3 "$schema": "http://json-schema.org/draft-07/schema#", 4 "$ref": "#/definitions/Props", 5 "definitions": { 6 "AsyncRouteOption": { 7 "description": "Should Async Routes be enabled, currently only `development` is supported.", 8 "oneOf": [ 9 { 10 "type": "string", 11 "enum": [ 12 "development", 13 "production" 14 ] 15 }, 16 { 17 "type": "boolean" 18 } 19 ] 20 }, 21 "Props": { 22 "type": "object", 23 "properties": { 24 "origin": { 25 "description": "Production origin URL where assets in the public folder are hosted. The fetch function is polyfilled to support relative requests from this origin in production, development origin is inferred using the Expo CLI development server.", 26 "oneOf": [ 27 { 28 "type": "string" 29 }, 30 { 31 "type": "boolean" 32 } 33 ] 34 }, 35 "headOrigin": { 36 "description": "A more specific origin URL used in the `expo-router/head` module for iOS handoff. Defaults to `origin`.", 37 "type": "string" 38 }, 39 "unstable_src": { 40 "description": "Changes the routes directory from `app` to another value. Defaults to `app`. Avoid using this property.", 41 "type": "string" 42 }, 43 "asyncRoutes": { 44 "description": "Should Async Routes be enabled, currently only `development` is supported.", 45 "oneOf": [ 46 { 47 "$ref": "#/definitions/AsyncRouteOption" 48 }, 49 { 50 "type": "object", 51 "properties": { 52 "ios": { 53 "$ref": "#/definitions/AsyncRouteOption" 54 }, 55 "android": { 56 "$ref": "#/definitions/AsyncRouteOption" 57 }, 58 "web": { 59 "$ref": "#/definitions/AsyncRouteOption" 60 }, 61 "default": { 62 "$ref": "#/definitions/AsyncRouteOption" 63 } 64 }, 65 "additionalProperties": true 66 } 67 ] 68 } 69 }, 70 "additionalProperties": false 71 } 72 } 73}