Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bundle ¶
type Bundle struct {
// contains filtered or unexported fields
}
func ScanBundle ¶
func (*Bundle) Compile ¶
func (b *Bundle) Compile(log logging.Log, options BundleOptions) []OutputFile
type BundleOptions ¶
type BundleOptions struct { // true: imports are scanned and bundled along with the file // false: imports are left alone and the file is passed through as-is IsBundling bool AbsOutputFile string AbsOutputDir string RemoveWhitespace bool MinifyIdentifiers bool MangleSyntax bool ModuleName string ExtensionToLoader map[string]Loader OutputFormat printer.Format // If present, metadata about the bundle is written as JSON here AbsMetadataFile string SourceMap SourceMap Stdin *StdinInfo // If true, make sure to generate a single file that can be written to stdout WriteToStdout bool // contains filtered or unexported fields }
type OutputFile ¶ added in v0.4.4
Click to show internal directories.
Click to hide internal directories.