You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be fine to keep this behaviour if we had an easy way to scream at the browser when something we really don't want there gets bundled, like server-only, but with use server annotation that is already in place?
That would work, but I mean that I already marked a file as server-only, it should automagically make anything up the dependency tree not includable in the client bundle.
Hi,
This snippet results in Vinxi bundling the db package even if only the types are imported:
This caused me some issues. The 'fix' is to write it this way:
Now Vinxi appropriately ignores this package during bundling. I'm unsure if this is a bug or desired because as @Brendonovich mentionned on Discord:
If that's intended then this issue might help someone having the same issue as me in the future.
The text was updated successfully, but these errors were encountered: