Skip to content

node -r swc-register command missing any filename - so it opens node REPL instead. #299

@lari-ks

Description

@lari-ks

Hi,

node -r @swc-node/register commands in package.json have no filename passed to them so this command will only open the node REPL without a filename... it's equivalent to just running node.

Should normally be used like:
node -r @swc-node/register <filename>

It causes no issue except to be a little unproductive as on the demo / build script the node REPL opens and the user has to Ctrl+C twice to exit it before the script can complete.

(By the way i opened a few PRs, i was really keen to use this package - i really like it!
Thanks for this product! I can't wait to get started with it.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions