mac os
creator 2.4.3
typescript 项目
使用命令行build 项目
Applications/CocosCreator/Creator/2.4.3/CocosCreator.app/Contents/MacOS/CocosCreator --path /mnt/ClientProject --build “configPath=/mnt/ClientProject/local/builder.json”
之后再通过AS打包到手机,出现 大量D/jswrapper: JS: A Class already exists with the same classname 的问题。
但同样的项目,如果手动直接在编辑器里构建发布没有任何问题。
通过查找资料,我猜是命令行构建的时候没有指定 tsconfig.json 导致的,但命令行通过哪个参数设置tsconfig.json 呢?
求遇到过类似问题的指教,感谢。