UNPKG

1.8 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "title": "App Shell Target",
4 "description": "App Shell target options for Build Facade.",
5 "type": "object",
6 "properties": {
7 "browserTarget": {
8 "type": "string",
9 "description": "A browser builder target use for rendering the application shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
10 "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
11 },
12 "serverTarget": {
13 "type": "string",
14 "description": "A server builder target use for rendering the application shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
15 "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
16 },
17 "appModuleBundle": {
18 "type": "string",
19 "description": "Script that exports the Server AppModule to render. This should be the main JavaScript outputted by the server target. By default we will resolve the outputPath of the serverTarget and find a bundle named 'main' in it (whether or not there's a hash tag)."
20 },
21 "route": {
22 "type": "string",
23 "description": "The route to render.",
24 "default": "/"
25 },
26 "inputIndexPath": {
27 "type": "string",
28 "description": "The input path for the index.html file. By default uses the output index.html of the browser target."
29 },
30 "outputIndexPath": {
31 "type": "string",
32 "description": "The output path of the index.html file. By default will overwrite the input file."
33 }
34 },
35 "additionalProperties": false,
36 "required": ["browserTarget", "serverTarget"]
37}