package resolver
import "github.com/evanw/esbuild/internal/resolver"
Index ¶
- func IsNonModulePath(path string) bool
- type Platform
- type ResolveOptions
- type ResolveStatus
- type Resolver
Functions ¶
func IsNonModulePath ¶
Types ¶
type Platform ¶
type Platform uint8
type ResolveOptions ¶
type ResolveOptions struct { ExtensionOrder []string Platform Platform ExternalModules map[string]bool }
type ResolveStatus ¶
type ResolveStatus uint8
const ( ResolveMissing ResolveStatus = iota ResolveEnabled ResolveDisabled ResolveExternal )
type Resolver ¶
type Resolver interface { Resolve(sourcePath string, importPath string) (string, ResolveStatus) Read(path string) (string, bool) PrettyPath(path string) string }
func NewResolver ¶
Source Files ¶
- Version
- v0.2.9
- Published
- May 8, 2020
- Platform
- windows/amd64
- Imports
- 7 packages
- Last checked
- 4 hours ago –
Tools for package owners.