package bundler
import "github.com/evanw/esbuild/internal/bundler"
Index ¶
- func DefaultExtensionToLoaderMap() map[string]config.Loader
- func ResolveFailureErrorTextSuggestionNotes( res resolver.Resolver, path string, kind ast.ImportKind, pluginName string, fs fs.FS, absResolveDir string, platform config.Platform, originatingFilePath string, ) (text string, suggestion string, notes []logger.MsgData)
- func RunOnResolvePlugins( plugins []config.Plugin, res resolver.Resolver, log logger.Log, fs fs.FS, fsCache *cache.FSCache, importSource *logger.Source, importPathRange logger.Range, importer logger.Path, path string, kind ast.ImportKind, absResolveDir string, pluginData interface{}, ) (*resolver.ResolveResult, bool, resolver.DebugMeta)
- type Bundle
- func ScanBundle( log logger.Log, fs fs.FS, res resolver.Resolver, caches *cache.CacheSet, entryPoints []EntryPoint, options config.Options, timer *helpers.Timer, ) Bundle
- func (b *Bundle) Compile(log logger.Log, options config.Options, timer *helpers.Timer, mangleCache map[string]interface{}) ([]graph.OutputFile, string)
- type EntryPoint
Functions ¶
func DefaultExtensionToLoaderMap ¶
func ResolveFailureErrorTextSuggestionNotes ¶
func ResolveFailureErrorTextSuggestionNotes( res resolver.Resolver, path string, kind ast.ImportKind, pluginName string, fs fs.FS, absResolveDir string, platform config.Platform, originatingFilePath string, ) (text string, suggestion string, notes []logger.MsgData)
func RunOnResolvePlugins ¶
func RunOnResolvePlugins( plugins []config.Plugin, res resolver.Resolver, log logger.Log, fs fs.FS, fsCache *cache.FSCache, importSource *logger.Source, importPathRange logger.Range, importer logger.Path, path string, kind ast.ImportKind, absResolveDir string, pluginData interface{}, ) (*resolver.ResolveResult, bool, resolver.DebugMeta)
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, mangleCache map[string]interface{}) ([]graph.OutputFile, string)
type EntryPoint ¶
Source Files ¶
- Version
- v0.14.30
- Published
- Apr 2, 2022
- Platform
- windows/amd64
- Imports
- 36 packages
- Last checked
- 17 minutes ago –
Tools for package owners.