package bundler

import "github.com/evanw/esbuild/internal/bundler"

Index

Functions

func DefaultExtensionToLoaderMap

func DefaultExtensionToLoaderMap() map[string]config.Loader

Types

type Bundle

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

func ScanBundle

func ScanBundle(
	log logger.Log,
	fs fs.FS,
	res resolver.Resolver,
	caches *cache.CacheSet,
	entryPoints []EntryPoint,
	options config.Options,
	timer *helpers.Timer,
) Bundle

func (*Bundle) Compile

func (b *Bundle) Compile(log logger.Log, options config.Options, timer *helpers.Timer) ([]graph.OutputFile, string)

type EntryPoint

type EntryPoint struct {
	InputPath  string
	OutputPath string
	IsFile     bool
}

Source Files

bundler.go debug.go linker.go

Version
v0.13.2
Published
Sep 23, 2021
Platform
windows/amd64
Imports
37 packages
Last checked
44 minutes ago

Tools for package owners.