Svelte: import.meta.xxx can't be used in markup

Created on 18 Sep 2020  路  1Comment  路  Source: sveltejs/svelte

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.

bug

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clitetailor picture clitetailor  路  3Comments

sskyy picture sskyy  路  3Comments

rob-balfre picture rob-balfre  路  3Comments

angelozehr picture angelozehr  路  3Comments

robnagler picture robnagler  路  3Comments