Skip to content

Commit

Permalink
fix(@angular/cli): add browser builder index option longhand form to …
Browse files Browse the repository at this point in the history
…schema
  • Loading branch information
clydin authored and vikerman committed Sep 19, 2019
1 parent 4b0a96c commit c6ca77f
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions packages/angular/cli/lib/config/schema.json
Expand Up @@ -847,8 +847,31 @@
"default": false
},
"index": {
"type": "string",
"description": "The name of the index HTML file."
"description": "Configures the generation of the application's HTML index.",
"oneOf": [
{
"type": "string",
"description": "The path of a file to use for the application's HTML index. The filename of the specified path will be used for the generated file and will be created in the root of the application's configured output path."
},
{
"type": "object",
"description": "",
"properties": {
"input": {
"type": "string",
"minLength": 1,
"description": "The path of a file to use for the application's generated HTML index."
},
"output": {
"type": "string",
"minLength": 1,
"default": "index.html",
"description": "The output path of the application's generated HTML index file. The full provided path will be used and will be considered relative to the application's configured output path."
}
},
"required": ["input"]
}
]
},
"statsJson": {
"type": "boolean",
Expand Down

0 comments on commit c6ca77f

Please sign in to comment.