language-javascript icon indicating copy to clipboard operation
language-javascript copied to clipboard

Add parsing support for `import.meta.url`

Open JordanMartinez opened this issue 4 years ago • 0 comments

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.

JordanMartinez avatar Jul 30 '21 14:07 JordanMartinez