Skip to content

[Bug]: babel-node -e option Inconsistent behavior with node -e #13730

Description

@yxwzaxns

💻

  • Would you like to work on a fix?

How are you using Babel?

@babel/cli

Input code

when -e is a param of an app.js
node app.js -e != babel-node app.js -e

Configuration file name

No response

Configuration

No response

Current and expected behavior

when -e is a param of an app.js
node app.js -e != babel-node app.js -e

Is it possible to make their behavior the same?

Environment

  • babel-node 7.14.9

Possible solution

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: node

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions