hugo: github.com/gohugoio/hugo/resources/resource_factories/bundler Index | Files

package bundler

import "github.com/gohugoio/hugo/resources/resource_factories/bundler"

Package bundler contains functions for concatenation etc. of Resource objects.

Index

Package Files

bundler.go

type Client Uses

type Client struct {
    // contains filtered or unexported fields
}

Client contains methods perform concatenation and other bundling related tasks to Resource objects.

func New Uses

func New(rs *resources.Spec) *Client

New creates a new Client with the given specification.

func (*Client) Concat Uses

func (c *Client) Concat(targetPath string, r resource.Resources) (resource.Resource, error)

Concat concatenates the list of Resource objects.

Package bundler imports 8 packages (graph) and is imported by 9 packages. Updated 2019-09-10. Refresh now. Tools for package owners.