Skip to content

Add parsing support for import.meta.url #127

Open
@JordanMartinez

Description

@JordanMartinez

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions