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

Pass esm: true flag to NodeJS package #38

Open
andresgutgon opened this issue Mar 9, 2025 · 1 comment
Open

Pass esm: true flag to NodeJS package #38

andresgutgon opened this issue Mar 9, 2025 · 1 comment

Comments

@andresgutgon
Copy link

What?

Hi, I'm building my SSR JS code as ESM modules. With the current version of this package, I manage to do this by naming the generated file as ssr.mjs, which is nice.

But I notices elixir-nodejs package added the option to serve ESM modules here

I think it would be just to let users from this package specify that option.

I can do the PRs myself if that helps. Or maybe what I'm saying is not correct, so happy to be corrected.

@andresgutgon
Copy link
Author

Ok, I think the change was pretty easy so I made the PR : )

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