各位大佬好
目前在研究命令行构建
用的是2.x版本,构建界面不能自动生成构建配置就自己写
我在 configPath=/Users/mac//buildConfig_Wechatgame.json
–build “configPath=./buildConfig_Wechatgame.json”
有这么一句
buildConfig_Wechatgame.json内容是
{
“appid”: “xxxxxx”,
“orientation”: “portrait”,
“separate_engine”: false,
“REMOTE_SERVER_ROOT”: “https://cdn/”,
“subContext”: “”,
“startSceneAssetBundle”: false,
“scenes”: [
{
"url": "db://assets/scenes/scenes_logo.fire",
"uuid": "f0dce9e2-2312-4899-8cd0-fd4ca9f654ab",
"inBundle": false
},
{
"url": "db://assets/scenes/scenes_login.fire",
"uuid": "c8679ee5-fcd9-47f6-bcd9-9ae806ae58a7",
"inBundle": false
},
{
"url": "db://assets/scenes/scenes_main.fire",
"uuid": "72c20e7a-95c1-459d-9575-c86c8bd0f289",
"inBundle": false
}
],
"excludedModules ": [
"DragonBones",
"Geom Utils",
"Intersection",
"Native Socket",
"Physics",
"TiledMap",
"WebView",
"3D",
"3D Primitive",
"SubContext",
"TypeScript Polyfill",
"3D Physics/cannon.js",
"3D Physics/Builtin",
"3D Physics Framework",
"3D Particle"
]
}
打包结束后,我发现这个buildConfig_Wechatgame.json并没被引用,我在网上并没有找到关于 2.x的
configPath配置样式,求大佬解惑,是什么原因导致的