Skip to content

Type Alias: XmTestTarget

API / @xmachines/shared / vite-aliases / XmTestTarget

type XmTestTarget = "source" | "dist";

Defined in: vite-aliases.ts:13

The code that a test run loads for each published @xmachines/* package.

  • source — the TypeScript under src/. pnpm test runs this way, and it needs no build.
  • dist — the build output under dist/, through the exports map of each package, as a consumer gets it. pnpm run test:dist runs this way, after pnpm run build.