-
Notifications
You must be signed in to change notification settings - Fork 3
feat!: move server to sub-module export #155
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
Conversation
BREAKING CHANGE: The `BlobsServer` class is no longer available in the main package export
✅ Deploy Preview for blobs-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
It would be good to add a server.d.ts
in the root that just re-exports from dist. Otherwise sites that use moduleResolution: node
will have trouble resolving the types.
It would be good to add a
server.d.ts
in the root that just re-exports from dist. Otherwise sites that usemoduleResolution: node
will have trouble resolving the types.
Good call. Done in 5b34e03.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! As an aside, I am a big fan of using @arethetypeswrong/cli
and publint
in CI. The former would have complained about the missing root subpath export.
Which problem is this pull request solving?
Moves the local server to a sub-module export. This means that the way the
BlobsServer
class is imported has changed: