package bundler

import "github.com/gohugoio/hugo/resource/bundler"

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

Index

Types

type Client

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

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

func New

func New(rs *resource.Spec) *Client

New creates a new Client with the given specification.

func (*Client) Concat

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

Concat concatenates the list of Resource objects.

Source Files

bundler.go

Version
v0.45.1
Published
Jul 25, 2018
Platform
js/wasm
Imports
5 packages
Last checked
54 seconds ago

Tools for package owners.