-
Notifications
You must be signed in to change notification settings - Fork 2
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
Current Node ESM format is not easily importable into TS projects with the current exports field #2
Comments
Hi @trusktr, thanks for your interest! I guess I haven't touched this project for a while.. In terms of ESM, I have doubts about not needing to support old formats.. maybe I'm just used to it. But I think the issues you've shown can be fixed without disabling multi-format bundling? |
I know how to make this work well, I've too much experience with Node ESM.
These are the issues I can help work through:
Do you have any downstream projects that import
wazum
in its current state? If so, I'd like to take a look at those too so I know how to make the changes. The reason I ask is because in modern times, there isn't really a need to support old formats like UMD, etc. We can start fresh. Modern packages only need to publish ESM, and new projects should adapt. (IMO). But if you require support for old environments, it will be more maintenance burden (and issues).This will be a bit of a change, will change the build and the output files completely, so that they are as idiomatic as possible (as close to regular vanilla ES as possible).
The text was updated successfully, but these errors were encountered: