Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Feature: Polyfillability #101

Description

@GeoffreyBooth
  • I’m writing a CommonJS app to run in an old version of Node that lacks modules support, and I want to be able to require an ESM-only package.
  • Same as above, but in a future version of Node that has native modules support.

I think the idea here is that somehow require can be polyfilled in old versions of Node to support importing ESM packages.

Use case 10.

Activity

  1. devsnek commented on May 20, 2018

    @devsnek
    Member

    if a version of node has the backend for running esm then it should have whatever other infrastructure we have, otherwise it should be able to use existing solutions right? (i can already override require.extensions to use babel in lots of node versions) plus i don't think we need to worry about versions of node past the oldest lts

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions