@@ -159,17 +159,14 @@ export type ReactRouterConfig = {
159
159
*/
160
160
presets ?: Array < Preset > ;
161
161
/**
162
- * Control the "Lazy Route Discovery" behavior.
162
+ * Control the "Lazy Route Discovery" behavior
163
163
*
164
164
* - `routeDiscovery.mode`: By default, this resolves to `lazy` which will
165
165
* lazily discover routes as the user navigates around your application.
166
166
* You can set this to `initial` to opt-out of this behavior and load all
167
167
* routes with the initial HTML document load.
168
168
* - `routeDiscovery.manifestPath`: The path to serve the manifest file from.
169
169
* Only applies to `mode: "lazy"` and defaults to `/__manifest`.
170
- *
171
- * If you do not need to control the manifest, you can specify the mode
172
- * directly on the `routeDiscovery` config.
173
170
*/
174
171
routeDiscovery ?:
175
172
| {
@@ -227,10 +224,14 @@ export type ResolvedReactRouterConfig = Readonly<{
227
224
*/
228
225
prerender : ReactRouterConfig [ "prerender" ] ;
229
226
/**
230
- * Control the "Lazy Route Discovery" behavior. By default, this resolves to
231
- * `lazy` which will lazily discover routes as the user navigates around your
232
- * application. You can set this to `initial` to opt-out of this behavior and
233
- * load all routes with the initial HTML document load.
227
+ * Control the "Lazy Route Discovery" behavior
228
+ *
229
+ * - `routeDiscovery.mode`: By default, this resolves to `lazy` which will
230
+ * lazily discover routes as the user navigates around your application.
231
+ * You can set this to `initial` to opt-out of this behavior and load all
232
+ * routes with the initial HTML document load.
233
+ * - `routeDiscovery.manifestPath`: The path to serve the manifest file from.
234
+ * Only applies to `mode: "lazy"` and defaults to `/__manifest`.
234
235
*/
235
236
routeDiscovery : ReactRouterConfig [ "routeDiscovery" ] ;
236
237
/**
0 commit comments