minify

package
v0.0.0-...-d96dd22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL