Skip to content

Test REPL in nodenext type=module projects; may need a tweak to ensure REPL is CJS #1752

Description

@cspotcode

While working on #1694, stumbled upon a possible REPL issue:
if package.json type = module, and you fire up the REPL, how is the REPL being compiled? Should make sure it's treated as CJS.

Should also check ts-node -pe "is this code ESM or CJS? What should it be?"

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions