readysite / pkg / frontend / esbuild / config.go
477 B
config.go
// Package esbuild provides a bundler for frontend components using esbuild's Go API.
package esbuild

// Config configures the esbuild bundler for frontend components.
type Config struct {
	// Entry is the path to the entry point file (e.g., "components/index.ts")
	Entry string

	// Include is the list of directories to watch for changes (for HMR).
	// These directories are also available for imports.
	// node_modules is always included automatically.
	Include []string
}
← Back