mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-06 03:58:34 +09:00
Ref https://remix.run/docs/en/1.15.0/guides/constraints#server-code-pruning Remix use NAME.server.ts extension to enforce omitting module from client bundles. Though we heavily used `/server` in packages which had no affect and blocked us in using a few node apis which were not polifilled with empty modules while bundling for client. Here I replaced `/server` with `/index.server` and removed all legacy server entry points which are not longer necessary with new typescript resolution.
trpc-interface
-
trpc-interfacecan implement various TRPC server routers. -
it can act as a proxy for TRPC services implemented in any other apps (those services must have the same API interface).