@imageme 写道:
Creator 版本:2.0.6
目标平台: 微信小游戏
在引擎插件的main.js中有如下代码,请问可否把es6=false改成es6=true?
当前为false的情况下,部分iOS版本较低的用户会卡在微信加载白屏的界面,无法进入游戏Editor.info('新增 plugins 字段到 game.json');
// 更新 game.json
const projectConfigPath = Path.join(opts.dest, 'project.config.json');
content = Fs.readJsonSync(projectConfigPath, 'utf8');
if (content.setting) {
content.setting.es6 = false;
content.setting.minified = false;
}
帖子: 1
参与者: 1