mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
The dose-window editor pulled DOSE_WINDOW_DEFAULTS from @/lib/analytics/compliance, dragging the server-only scheduling graph (which imports node:async_hooks) into the client bundle. Turbopack rejected the client chunk; tsc does not model the boundary so the type check stayed green. Move the constant into a leaf module with no server imports and re-export it from compliance so the server path is unchanged. The client-reachable editor now imports the leaf directly.