-
Notifications
You must be signed in to change notification settings - Fork 942
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
ES Module Support? #762
Comments
Not for a while, sorry. Perhaps in version 6. EDIT: Let me expand on that - ESM isn't well supported yet, both by tooling and by teams. |
Oh. |
Could someone possibly could make a fork with ESM support I could use? |
Or another branch labeled ESM-Support? |
@Justsnoopy30 Please don't double- or triple-post. Can you explain why ESM support is an absolute requirement for you? |
My entire project uses ESM. I do not use a bundler, so there is basically no way to import this on the browser as it doesn't provide an ESM export. |
I'm not sure how to help, unfortunately. Someone can fork, but I don't recommend it. Industry standard at the moment is to use a bundler. |
Okay. I ended up getting what I wanted through a website which generates ESM compliant versions of npm packages, which I then downloaded and now I can import it as an ES Module! |
It is a requirement for projects like Angular where the compiler uses ES Syntax and libs that are ES invalid because of one dependency that is not ES. Lodash did it greatly by providing an extra package called "lodash-es". |
Sorry to grave dig, but why was this closed as "completed"? As of TS 4.7, native ES Modules have full stack support, which means HMR bundlers and watchers like esbuild-kit/tsx and vite SSR now work orders of magnitude faster than what webpack+babel+nodemon could. The problem is still at large from my testing, so not "completed": https://stackblitz.com/fork/github/feathersjs/playground/tree/037fe54/vite-chat with Like you said, bundlers are industry standard... and they work WAY better with ES Modules. To the point that it's worth taking any measures to switch to them ASAP. |
Github didn't have close reasons at the time of closure, and when they introduced the feature defaulted all closed issues as "completed" as a sane default. Clearly no work was actually completed. See #786 (comment) about ESM. |
Is there a possibility of this project supporting ES Modules?
The text was updated successfully, but these errors were encountered: