Skip to content

feature request: support internal loaders #49473

Description

@cjihrig

What is the problem this feature will solve?

It may be desirable for Node to have its own internal loaders that are not exposed to userland as part of the public API. One example is supporting module mocking in core. A loader is the ideal way to support this, but currently trying to use an internal module as a loader fails with an error.

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

I am proposing supporting Node core internal modules as loaders.

What alternatives have you considered?

Exposing all loaders as part of the public API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.loadersIssues and PRs related to ES module loaders.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions