Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("could not resolve css module")
ErrNotFound is returned when the resolver cannot resolve a path.
Functions ¶
This section is empty.
Types ¶
type NodeResolver ¶
type NodeResolver struct { // BaseURL is the root directory of the project. It serves // the same purpose as baseUrl in tsconfig.json. If the value is relative, // it will be resolved against the current working directory. BaseURL string }
NodeResolver implements the default node import resolution strategy. See https://www.typescriptlang.org/docs/handbook/module-resolution.html.
When resolving node_modules, the resolver will use the style attribute in package.json for resolution.
Click to show internal directories.
Click to hide internal directories.