Skip to content

Consider unstable flag to make cjs files be treated as esm #22818

Description

@dsherret

It would be useful to have an unstable flag that allows people to import CJS files that contain imports/exports similar to Node's --experimental-detect-module.

For example: #22811

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

    suggestionsuggestions for new features (yet to be agreed)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions