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

tsp compile . doesn't resolve entrypoints from exports #6219

Open
timotheeguerin opened this issue Mar 3, 2025 · 0 comments
Open

tsp compile . doesn't resolve entrypoints from exports #6219

timotheeguerin opened this issue Mar 3, 2025 · 0 comments
Labels
bug Something isn't working compiler:core Issues for @typespec/compiler triaged:core
Milestone

Comments

@timotheeguerin
Copy link
Member

timotheeguerin commented Mar 3, 2025

It resolve tspMain but not exports. This means you cannot do a tsp compile . for your library if you use the new exports without tspMain

We didn't catch it as all our libraries also have a tspMain for legacy reasons

@timotheeguerin timotheeguerin added bug Something isn't working compiler:core Issues for @typespec/compiler and removed needs-area labels Mar 3, 2025
@markcowl markcowl added this to the Backlog milestone Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler:core Issues for @typespec/compiler triaged:core
Projects
None yet
Development

No branches or pull requests

2 participants