The elysia.js plugins are exported from the same index.ts of all the packages. eden-query is intended to be a client library, and it probably shouldn't export server-specific modules.
Solution
Add a new server entrypoint to all the packages, which the developer can import the plugins from. All exports from the main entrypoint should only have eden-treaty and tanstack-query related integrations.
Issue
The elysia.js plugins are exported from the same
index.ts
of all the packages.eden-query
is intended to be a client library, and it probably shouldn't export server-specific modules.Solution
Add a new
server
entrypoint to all the packages, which the developer can import the plugins from. All exports from the main entrypoint should only haveeden-treaty
andtanstack-query
related integrations.