interface
OnResolveResult
interface OnResolveResult
- namespace?: string
The namespace of the destination It is concatenated with
pathto form the final import specifier"foo" // "foo:bar" - path: string
The destination of the import
In a runtime plugin, a path without a
namespaceis resolved from the importing module like any other import, without runningonResolvecallbacks on it. If nothing is found there, it is used as it is when anonLoadcallback matches it.A bare name could also be a package in the registry, so
onResolvecallbacks run on it once more. If one of them returns a path, the name is the plugin's own and is never auto-installed.