package js

import "github.com/gohugoio/hugo/resources/resource_transformers/js"

Index

Types

type Client

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

Client context for ESBuild.

func New

New creates a new client context.

func (*Client) Process

func (c *Client) Process(res resources.ResourceTransformer, opts map[string]any) (resource.Resource, error)

Process processes a resource with the user provided options.

Source Files

build.go transform.go

Version
v0.144.2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
11 packages
Last checked
13 hours ago

Tools for package owners.