Skip to content
New issue

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

Ability to tell about any dynamic import specifiers deno_graph could not statically analyze #138

Open
dsherret opened this issue Feb 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dsherret
Copy link
Member

It would be useful for deno vendor to warn when there's a dynamic import specifier that deno_graph can't statically analyze.

For example, given the following:

const value = (() => "./logger.ts")();
const { Logger } = await import(value);

This might be and is at the current moment a dynamic import deno_graph doesn't know how to statically analyze for. It would be useful for deno_graph to be able to say that somehow so the CLI can warn about these for deno vendor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant