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

Import map is not used to lookup the entry point script #2688

Closed
nayeemrmn opened this issue Jul 27, 2019 · 2 comments
Closed

Import map is not used to lookup the entry point script #2688

nayeemrmn opened this issue Jul 27, 2019 · 2 comments

Comments

@nayeemrmn
Copy link
Collaborator

nayeemrmn commented Jul 27, 2019

Not important but I would expect this to work.

@nayeemrmn nayeemrmn changed the title Import map is not used to lookup the entry poo Import map is not used to lookup the entry point script Jul 27, 2019
@bartlomieju
Copy link
Member

We already discussed it a little bit in one of PRs. For reference here's an issue I opened in import maps repo: WICG/import-maps#157

In Deno you specify entry point by providing URL or "relative" path to the script. It is less strict than specifiers in script (which require you to use /, ./ or ../ for relative scripts). So ultimately it is a URL, and import maps shouldn't be applied to URL, but to script specifiers.

Still, this should be discussed.

@nayeemrmn
Copy link
Collaborator Author

Ah, this is definitely a duplicate.

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

No branches or pull requests

2 participants