Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kind(Script) sets outfile extension to .mjs #10

Open
sigmasternchen opened this issue Dec 8, 2024 · 0 comments
Open

kind(Script) sets outfile extension to .mjs #10

sigmasternchen opened this issue Dec 8, 2024 · 0 comments

Comments

@sigmasternchen
Copy link

Hi,

First of all: Love your project!

I noticed that setting the kind to Script will cause the esbuild outfile to be saved as .mjs.
So, I wanted to ask: Was there a reason for this?

From my perspective, it'd make more sense to make the extension dependent on the Format. The .mjs extension only really makes sense with the ESM format, no?

Yours,
Sigma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant