Class ModuleLoader.Builder
java.lang.Object
com.google.javascript.jscomp.deps.ModuleLoader.Builder
- Enclosing class:
ModuleLoader
Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a module resolver, which determines how module identifiers are resolvedsetInputs
(Iterable<? extends DependencyInfo> x) All inputs to the compilation process.Path prefixes to strip from module pathsDetermines if / how paths should be escapedDetermines how to sanitize paths before resolving
-
Method Details
-
setErrorHandler
-
setModuleRoots
Path prefixes to strip from module paths -
setInputs
All inputs to the compilation process.Used to ensure that resolved paths references a valid input.
-
setFactory
Creates a module resolver, which determines how module identifiers are resolved -
setPathResolver
Determines how to sanitize paths before resolving -
setPathEscaper
Determines if / how paths should be escaped -
build
-