Build Cocos WeChat Game
cocos_local_build_wechatgameBuild a WeChat Mini Game from a Cocos Creator project on your local machine. Specify a build config file or provide raw build options.
Instructions
Run Cocos Creator command-line build for the wechatgame platform using a configPath or raw build options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| logDest | No | Optional Cocos build log file path. | |
| timeoutMs | No | ||
| configPath | No | Build config JSON path created by cocos_local_create_wechat_build_config. | |
| creatorPath | No | ||
| projectRoot | Yes | ||
| buildOptions | No | Raw Cocos --build option string. Overrides configPath when provided. |