@velcro/resolver-host-unpkg
v0.27.0
Published
Resolve references to absolute urls using the node module resolution algorithm using an generic host interface
Downloads
7
Maintainers
Readme
@velcro/resolver-host-unpkg
A class that implements the ResolverHost
interface over the unpkg.com CDN. This host does not rely on unpkg's own automatic main file resolution and so it will respect the parent Resolver
's configuration.
Usage
const host = new Velcro.ResolverHostUnpkg({
fetch, // Optional reference to a `fetch` implementation
});