Documentation ¶
Index ¶
- func Execute(bundle *compactor.Bundle) error
- func ExtractAttribute(html string, attribute string, defaultValue string) string
- func Init(bundle *compactor.Bundle) error
- func MergeContent(item *compactor.Item) string
- func Minify(content string) (string, error)
- func Optimize(bundle *compactor.Bundle) error
- func Plugin() *compactor.Plugin
- func Related(item *compactor.Item) ([]compactor.Related, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAttribute ¶ added in v0.0.3
ExtractAttribute find the value of the attribute
func MergeContent ¶ added in v0.0.12
MergeContent returns the content of the item with the replaced partials dependencies
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.