Skip to content

Support import.meta.filename and import.meta.dirname #8122

@TomasHubelbauer

Description

@TomasHubelbauer

What is the problem this feature would solve?

Node compatibility: nodejs/node#48740

What is the feature you are proposing to solve the problem?

Implement these and possibly even do it the same way: https://github.com/nodejs/node/pull/48740/files#diff-f572ecdefdbdf69b7fc591988665845843bc791a39d116607e27928089f54ed6

What alternatives have you considered?

Not doing it, but these are super handy and I am sure will see quick adoption in the Node land so this will future-proof Node compat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions