Skip to content
weftGitHub

Diagnostics

Q003

query/mutation defined outside a server module: its run and imports would ship to the client (the build fails).

Fix: Move it to src/server/** or a *.server.ts file.

Status in weft@0.1.0: reported by @weft-js/start when it serves or renders the route, and by weft check and weft routes --meta.