bundler

package
v0.0.0-...-fae14fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2020 License: MIT Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

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

func ScanBundle

func ScanBundle(log logging.Log, fs fs.FS, res resolver.Resolver, entryPaths []string, options parser.ParseOptions) Bundle

func (*Bundle) Compile

func (b *Bundle) Compile(log logging.Log, options BundleOptions) []BundleResult

type BundleOptions

type BundleOptions struct {
	Bundle            bool
	AbsOutputFile     string
	AbsOutputDir      string
	RemoveWhitespace  bool
	MinifyIdentifiers bool
	MangleSyntax      bool
	SourceMap         bool
	ModuleName        string
	// contains filtered or unexported fields
}

type BundleResult

type BundleResult struct {
	JsAbsPath         string
	JsContents        []byte
	SourceMapAbsPath  string
	SourceMapContents []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL