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.147.0
Published
Apr 25, 2025
Platform
js/wasm
Imports
11 packages
Last checked
42 minutes ago

Tools for package owners.