Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNonModulePath ¶
Types ¶
type ResolveOptions ¶
type ResolveResult ¶ added in v0.4.6
type ResolveResult struct {
AbsolutePath string
Status ResolveStatus
// If true, any ES6 imports to this file can be considered to have no side
// effects. This means they should be removed if unused.
IgnoreIfUnused bool
// If true, the class field transform should use Object.defineProperty().
StrictClassFields bool
}
type ResolveStatus ¶
type ResolveStatus uint8
const ( ResolveMissing ResolveStatus = iota ResolveEnabled ResolveDisabled ResolveExternal )
Click to show internal directories.
Click to hide internal directories.