Summary
Updates the minification settings.
- Assembly
- Wyam
.Minification .dll - Namespace
- Wyam
.Minification - Containing Type
- MinifyXhtml
Syntax
public MinifyXhtml WithSettings(Action<XhtmlMinificationSettings> action)
Examples
MinifyXhtml()
.WithSettings(settings => settings.RemoveHtmlComments = false)
Parameters
Name | Type | Description |
---|---|---|
action | Action |
A function to update the minification settings with. |
Return Value
Type | Description |
---|---|
MinifyXhtml | The current instance. |