Create WeChat Game Build Config
cocos_local_create_wechat_build_configCreates a JSON build configuration for Cocos Creator 3.x WeChat Mini Game, specifying project, appid, and platform settings.
Instructions
Create a Cocos Creator 3.x command-line build config JSON for the wechatgame platform.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | No | wx0000000000000000 | |
| debug | No | ||
| scenes | No | Optional Cocos build scenes array. | |
| gameName | No | Cocos WeChat Game | |
| md5Cache | No | ||
| packages | No | Optional extra platform package config to merge under packages.wechatgame. | |
| buildPath | No | project://build | |
| overwrite | No | ||
| configPath | No | Where to write the build config JSON. Defaults to .codex/cocos-build/wechatgame.build.json under the project. | |
| outputName | No | wechatgame | |
| startScene | No | Optional start scene UUID. | |
| projectRoot | Yes | ||
| startScenePath | No | Optional scene asset path such as assets/scenes/Main.scene; used to read the startScene UUID from its .meta file. |