Skip to content

Export UMD and ESM #120

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

Closed
jerebtw opened this issue Apr 17, 2023 · 4 comments
Closed

Export UMD and ESM #120

jerebtw opened this issue Apr 17, 2023 · 4 comments

Comments

@jerebtw
Copy link

jerebtw commented Apr 17, 2023

To use this library with Deno, ESM would be required as Deno does not support UMD.

And the easiest thing would be just to export also a dotnet.mjs file (with esm code inside).

@elringus
Copy link
Owner

This is discussed in #53. Once we resolve the blocking issues, it should work in Deno as well.

@jerebtw
Copy link
Author

jerebtw commented Apr 17, 2023

I see. (The issue looked a little dead, so I opened a new one).

@jerebtw jerebtw closed this as completed Apr 17, 2023
@jerebtw
Copy link
Author

jerebtw commented Apr 18, 2023

@elringus is there an estimate of when the problem will be fixed? (I would love to use this)

@elringus
Copy link
Owner

It'll probably be a while. First, dotnet/runtime#80045 has to be resolved, then I'll have to find a time to resolve #20, which would likely take months. If you just looking for a way to interop with C# from JS, take a look at https://devblogs.microsoft.com/dotnet/use-net-7-from-any-javascript-app-in-net-7 Aside from TS types generation and auto bindings generation, modern .NET mostly covers this project features.

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

2 participants