Skip to content

Commit 86eae25

Browse files
committed
docs(@angular-devkit/build-angular): update prendering options descriptions
This commit updates several option descriptions
1 parent eefc20d commit 86eae25

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/angular_devkit/build_angular/src/builders/application/schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,11 @@
426426
"properties": {
427427
"routesFile": {
428428
"type": "string",
429-
"description": "The path to a file containing routes separated by newlines."
429+
"description": "The path to a file that contains a list of all routes to prerender, separated by newlines. This option is useful if you want to prerender routes with parameterized URLs."
430430
},
431431
"discoverRoutes": {
432432
"type": "boolean",
433-
"description": "Whether the builder should discover routers using the Angular Router.",
433+
"description": "Whether the builder should process the Angular Router configuration to find all unparameterized routes and prerender them.",
434434
"default": true
435435
}
436436
},

packages/angular_devkit/build_angular/src/builders/prerender/schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"routesFile": {
1717
"type": "string",
18-
"description": "The path to a file containing routes separated by newlines."
18+
"description": "The path to a file that contains a list of all routes to prerender, separated by newlines. This option is useful if you want to prerender routes with parameterized URLs."
1919
},
2020
"routes": {
2121
"type": "array",
@@ -29,7 +29,7 @@
2929
},
3030
"discoverRoutes": {
3131
"type": "boolean",
32-
"description": "Whether the builder should discover routers using the Angular Router.",
32+
"description": "Whether the builder should process the Angular Router configuration to find all unparameterized routes and prerender them.",
3333
"default": true
3434
}
3535
},

0 commit comments

Comments
 (0)