Documentation ¶
Index ¶
- func ExtractAttribute(html string, attribute string, defaultValue string) string
- func MergeContent(file *compactor.File) string
- func Minify(content string) (string, error)
- func Optimize(options *compactor.Options, file *compactor.File) error
- func Plugin() *compactor.Plugin
- func Related(options *compactor.Options, file *compactor.File) ([]compactor.Related, error)
- func Transform(options *compactor.Options, file *compactor.File) 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.