Versions in this module Expand all Collapse all v0 v0.14.15 Jan 31, 2022 v0.14.14 Jan 30, 2022 Changes in this version + var BuiltInNodeModules = map[string]bool + func IsPackagePath(path string) bool + type DataURL struct + func ParseDataURL(url string) (parsed DataURL, ok bool) + func (parsed DataURL) DecodeData() (string, error) + func (parsed DataURL) DecodeMIMEType() MIMEType + type DebugMeta struct + func (dm DebugMeta) LogErrorMsg(log logger.Log, source *logger.Source, r logger.Range, text string) + type MIMEType uint8 + const MIMETypeApplicationJSON + const MIMETypeTextCSS + const MIMETypeTextJavaScript + const MIMETypeUnsupported + type PathPair struct + Primary logger.Path + Secondary logger.Path + func (pp *PathPair) HasSecondary() bool + type ResolveResult struct + DifferentCase *fs.DifferentCase + IsExternal bool + JSXFactory []string + JSXFragment []string + ModuleType config.ModuleType + PathPair PathPair + PluginData interface{} + PreserveUnusedImportsTS bool + PrimarySideEffectsData *SideEffectsData + TSTarget *config.TSTarget + UseDefineForClassFieldsTS config.MaybeBool + type Resolver interface + PrettyPath func(path logger.Path) string + ProbeResolvePackageAsRelative func(sourceDir string, importPath string, kind ast.ImportKind) *ResolveResult + Resolve func(sourceDir string, importPath string, kind ast.ImportKind) (result *ResolveResult, debug DebugMeta) + ResolveAbs func(absPath string) *ResolveResult + func NewResolver(fs fs.FS, log logger.Log, caches *cache.CacheSet, options config.Options) Resolver + type SideEffectsData struct + IsSideEffectsArrayInJSON bool + PluginName string + Range logger.Range + Source *logger.Source + type TSConfigJSON struct + AbsPath string + BaseURL *string + BaseURLForPaths string + JSXFactory []string + JSXFragmentFactory []string + Paths map[string][]string + PreserveImportsNotUsedAsValues bool + TSTarget *config.TSTarget + UseDefineForClassFields config.MaybeBool + func ParseTSConfigJSON(log logger.Log, source logger.Source, jsonCache *cache.JSONCache, ...) *TSConfigJSON