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.meta.xxx can't be used in markup #5422

Closed
Rich-Harris opened this issue Sep 18, 2020 · 1 comment
Closed

import.meta.xxx can't be used in markup #5422

Rich-Harris opened this issue Sep 18, 2020 · 1 comment
Labels

Comments

@Rich-Harris
Copy link
Member

@Rich-Harris Rich-Harris commented Sep 18, 2020

Describe the bug
In modern JavaScript, import.meta.xxx is valid syntax. It parses inside a <script>, but not inside markup.

To Reproduce
https://svelte.dev/repl/9630de41957a4c80a4fce264360a6bc7?version=3.25.1

Severity
Not urgent right now, but likely to become a blocker in the near future.

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

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.