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

Add parsing support for import.meta.url #127

Open
JordanMartinez opened this issue Jul 30, 2021 · 0 comments
Open

Add parsing support for import.meta.url #127

JordanMartinez opened this issue Jul 30, 2021 · 0 comments

Comments

@JordanMartinez
Copy link

JordanMartinez commented Jul 30, 2021

The magic CommonJS constants __filename and __dirname are not available in ES modules. They’re supposed to be replaced by import.meta.url, but language-javascript does not support parsing this meta property.

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

Successfully merging a pull request may close this issue.

1 participant