Skip to content

Outputting in the same directory as the current is broken #11717

@assyrus-favolo

Description

@assyrus-favolo

I'm in Windows 11, using PowerShell.
I run this command:

bunx swc file.js --out-file file.min.js

And I get this error:

EEXSIT: file already exists, mkdir '.'

If I do this instead:

bunx swc file.js --out-file build/file.min.js

The file is created without issue, is this intended or is it an oversight?

Originally posted by @assyrus-favolo in #11544

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