解决方案
1.下载laya应用的egret框架
2.解压到laya我的项目
3.egret wing关上我的项目,编译一次(下载egret-webpack-bundler)
4.批改scripts/plugins/node_modules/@egret/egret-webpack-bundler/lib/index.js文件
64行:
open_1.openUrl("http://localhost:" + port + "/bin/index2.html");
125行:
filename: 'bin/main.js'