
错误问题截图。(Class constructors cannot be invoked without ‘new’)
代码先经过rollup打包,在经过cocosCreator命令行打包发布字节小游戏。同一份代码rollup打包、cocosCreator发布 到 android 、微信小游戏均正常。在字节小游戏上就出现Class constructors cannot be invoked without ‘new’、 问题目前还没定位出来, 怀疑rollup打包影响,有遇到相似问题的?
以下是配置相关的
