Rich-Harris / code-red

Experimental toolkit for writing x-to-JavaScript compilers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support `import.meta`

dishuostec opened this issue · comments

Svelte will throw an error when code contains import.meta: sveltejs/svelte#4379.

This is already supported in code-red if it has access to a new enough version of Acorn. (I.e., if you do a fresh install of code-red in a new project and automatically get the latest version of its acorn dependency, this will work.) Svelte's will need to be updated.