Skip to content

outExtensions does not handle empty strings #493

@adamhl8

Description

@adamhl8

If you set js to an empty string in outExtensions, the file is still emitted with the default js extension.

{
  entry: ["./executable-script.ts"],
  outExtensions: () => ({ js: "" }),
}
// outputs executable-script.js

I opened a PR to fix this: #494

Metadata

Metadata

Assignees

No one assigned

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions