You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/angular/cli/lib/config/schema.json
+25-2Lines changed: 25 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -847,8 +847,31 @@
847
847
"default": false
848
848
},
849
849
"index": {
850
-
"type": "string",
851
-
"description": "The name of the index HTML file."
850
+
"description": "Configures the generation of the application's HTML index.",
851
+
"oneOf": [
852
+
{
853
+
"type": "string",
854
+
"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."
855
+
},
856
+
{
857
+
"type": "object",
858
+
"description": "",
859
+
"properties": {
860
+
"input": {
861
+
"type": "string",
862
+
"minLength": 1,
863
+
"description": "The path of a file to use for the application's generated HTML index."
864
+
},
865
+
"output": {
866
+
"type": "string",
867
+
"minLength": 1,
868
+
"default": "index.html",
869
+
"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."
0 commit comments