Skip to content

REPL with package.json "type":"module" #33369

Open
@dilyanpalauzov

Description

@dilyanpalauzov

Just as having "type":"module" in package.json in the current directory implies that .js files can do import x from 'y', typing node (and then some code) in the directory, where that package.json is, shall also understand import x from 'y'.

In addition there shall be a way to pass a command line switch to node, so that on REPL it understands ES6 import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions