Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNonModulePath ¶
Types ¶
type ResolveResult ¶ added in v0.4.6
type ResolveResult struct {
AbsolutePath string
Status ResolveStatus
// If not empty, these should override the default values
JSXFactory []string // Default if empty: "React.createElement"
JSXFragment []string // Default if empty: "React.Fragment"
// 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.