ExportBlock
A sub-block for defining properties related to configuring the kobweb export
step.
Types
Properties
Link copied to clipboard
A filter which, if set, will be invoked for every page to test if it should be exported.
Link copied to clipboard
Whether to include a source map when exporting your site.
Link copied to clipboard
If true, hide the warning shown about using an incorrect export layout.
Link copied to clipboard
If true, hide the warning shown the projects that don't define a root route.
Functions
Link copied to clipboard
Add a route to export on top of what's normally discovered.
Link copied to clipboard
fun enableTraces(tracesRoot: Path = kobwebFolder.path.resolve("export-traces"), filter: (String) -> Boolean = { true }, showScreenshots: Boolean = true)
Enable traces for your export.