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

What about <script type="module" src="moment">? #24

Closed
vitalets opened this issue Mar 20, 2018 · 1 comment
Closed

What about <script type="module" src="moment">? #24

vitalets opened this issue Mar 20, 2018 · 1 comment

Comments

@vitalets
Copy link

Will package map be used for script tags with bare src?

<script type="module" src="moment"></script>
@domenic
Copy link
Collaborator

domenic commented Mar 21, 2018

No; that already means something (namely resolving the relative URL moment against the page's base URL.)

See #23 for possible ways to allow usage of bare identifiers in other contexts; IMO the leading contender would be src="package:moment".

@domenic domenic closed this as completed Mar 21, 2018
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