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

package library as a ES module #5502

Open
3 tasks done
cataggar opened this issue Jan 6, 2025 · 0 comments
Open
3 tasks done

package library as a ES module #5502

cataggar opened this issue Jan 6, 2025 · 0 comments
Labels
design:needed A design request has been raised that needs a proposal eng triaged:core
Milestone

Comments

@cataggar
Copy link
Member

cataggar commented Jan 6, 2025

Clear and concise description of the problem

I would like to use the typespec library from a WASI component. It would need the typespec library bundled as a ES module. This would be simliar to how it is bundled for VS Code here, but the rollup output format would need to be es instead of commonjs. As you can see by this hack, there are a few places where things are reliant on Node.js would be to be abstracted. TypeScript made a System interface for that purpose.

Checklist

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@markcowl markcowl added design:needed A design request has been raised that needs a proposal eng triaged:core labels Jan 8, 2025
@markcowl markcowl added this to the Backlog milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design:needed A design request has been raised that needs a proposal eng triaged:core
Projects
None yet
Development

No branches or pull requests

2 participants