Skip to content

Describe alternatives to require.extensions #32483

Open
@dilyanpalauzov

Description

@dilyanpalauzov

https://nodejs.org/api/modules.html#modules_require_extensions says require.extensions is deprecated.

Per TypeStrong/ts-node#641 and TypeStrong/ts-node#989 there are no alternatives. They reference further the documentation of @babel/node, @babel/register, and coffeescript.

• Either re-introduce require.extensions or describe more precisely the alternatiles that should be used.

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

    deprecationsIssues and PRs related to deprecations.moduleIssues and PRs related to the module subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions