Documentation

Overview

    Package minify removes superfluous data from a variety of web formats without modifying their behavior in web browsers. This plugin is useful for reducing bandwidth usage, but should be disabled for development. This can be accomplished by conditionally excluding it using the "condition" filter.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Minify

    type Minify struct{}

      Minify chainable context.

      func New

      func New() *Minify

        New creates a new instance of the Minify plugin

        func (*Minify) Initialize

        func (*Minify) Initialize(context *goldsmith.Context) error

        func (*Minify) Name

        func (*Minify) Name() string

        func (*Minify) Process

        func (*Minify) Process(context *goldsmith.Context, inputFile *goldsmith.File) error

        Source Files