Wexts 4

Codegen

Codegen discovers explicit RPC metadata and emits deterministic client files.

Commands and Examples

wexts generate -p apps/api -o apps/web/lib/wexts
wexts generate rpc hello

Current Guidance

  • Production start does not run codegen.
  • Codegen fails clearly when no RPC services are found.
  • Generated files should be committed or produced during the build pipeline.