Building for production
Build current mcpkit projects with the generated scripts and the CLI wrapper.
Generated project script
Every template includes:
npm run buildwhich runs:
tscCLI wrapper
mcpkit buildWhat to check after building
dist/exists- JavaScript output files were emitted
- declaration files were emitted where expected
- your client config still points at the right runtime entry
Caveat about --outDir
The CLI accepts --outDir, but the real emit location is still driven by the project tsconfig.json.