-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
options.json
77 lines (77 loc) · 3.15 KB
/
options.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"title": "expo-router config plugin options",
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/Props",
"definitions": {
"AsyncRouteOption": {
"description": "Should Async Routes be enabled. `production` is currently web-only and will be disabled on native.",
"oneOf": [
{
"type": "string",
"enum": [
"development",
"production"
]
},
{
"type": "boolean"
}
]
},
"Props": {
"type": "object",
"properties": {
"origin": {
"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.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"headOrigin": {
"description": "A more specific origin URL used in the `expo-router/head` module for iOS handoff. Defaults to `origin`.",
"type": "string"
},
"root": {
"description": "Changes the routes directory from `app` to another value. Defaults to `app`. Avoid using this property.",
"type": "string"
},
"platformRoutes": {
"description": "Enable or disable platform-specific routes. Defaults to `true`.",
"type": "boolean"
},
"asyncRoutes": {
"description": "Should Async Routes be enabled. `production` is currently web-only and will be disabled on native.",
"oneOf": [
{
"$ref": "#/definitions/AsyncRouteOption"
},
{
"type": "object",
"properties": {
"ios": {
"$ref": "#/definitions/AsyncRouteOption"
},
"android": {
"$ref": "#/definitions/AsyncRouteOption"
},
"web": {
"$ref": "#/definitions/AsyncRouteOption"
},
"default": {
"$ref": "#/definitions/AsyncRouteOption"
}
},
"additionalProperties": true
}
]
}
},
"additionalProperties": false
}
}
}