We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno_runtime::WorkerOptions has a field: pub npm_resolver: Option<Arc<dyn deno_node::NpmResolver>>, which is default initialized to None.
deno_runtime::WorkerOptions
pub npm_resolver: Option<Arc<dyn deno_node::NpmResolver>>,
None
If we provide it with an implementation of npm_resolver, we should be able to npm package support.
npm_resolver
See more: https://github.com/denoland/deno/blob/main/cli/npm/resolvers/mod.rs.
Note this may be a deep rabbit hole, expect to spend hours on this
The text was updated successfully, but these errors were encountered:
https://deno.land/x/deno@v1.35.2/cli/module_loader.rs prob need to change the module loader as well
Sorry, something went wrong.
No branches or pull requests
deno_runtime::WorkerOptions
has a field:pub npm_resolver: Option<Arc<dyn deno_node::NpmResolver>>,
which is default initialized toNone
.If we provide it with an implementation of
npm_resolver
, we should be able to npm package support.See more: https://github.com/denoland/deno/blob/main/cli/npm/resolvers/mod.rs.
Note this may be a deep rabbit hole, expect to spend hours on this
The text was updated successfully, but these errors were encountered: