mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 04:55:06 +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.