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

Use package.json exports when ts support lands in #80

Open
eric-burel opened this issue Oct 1, 2021 · 0 comments
Open

Use package.json exports when ts support lands in #80

eric-burel opened this issue Oct 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@eric-burel
Copy link
Collaborator

eric-burel commented Oct 1, 2021

Is your feature request related to a problem? Please describe.
@see https://stackoverflow.com/questions/63058081/package-json-with-multiple-entrypoints
@see https://blog.mozilla.org/data/2021/04/07/this-week-in-glean-publishing-glean-js/

This would allow us to use index.server.ts files instead of server/index.ts, and get rid of the typesVersions hack we currently use to handle both server and client exports.

Also see this Lerna ticket for the "fake alias" hack: @see lerna/lerna#3006

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant