addExtraRoute

fun addExtraRoute(route: String, exportPath: String? = null)(source)

Add a route to export on top of what's normally discovered.

This can be useful if you want to export a specific dynamic route (which are normally skipped) or re-export a copy of an existing route to a different location.

Note that any added filter will NOT be applied to these routes.

Parameters

exportPath

The final path to export the route to, including a trailing extension (e.g. "settings/admin.html"). If not specified, it will be auto-determined from the route.