-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: re-export unstorage drivers #12505
Conversation
|
!preview sessions |
Isn't there something we can do upstream (maybe with unstorage maintainers) to prevent this? It really is inconvenient |
Snapshots have been released for the following packages:
Publish Log
Build Log
|
This isn't an unstorage problem. It's a module resolution (and package manager) problem. |
Changes
Well, this sucks, but dynamic imports directly from unstorage don't work with pnpm. This PR adds a script to auto-generate the re-exports. I've prefixed it with
astro/internal
so that peopel don't think it's a public API.Testing
Tested locally with a site using node adapter.
Docs