layaBoxEsBuild icon indicating copy to clipboard operation
layaBoxEsBuild copied to clipboard

⚡⚡⚡用esbuild来构建layabox项目,修改代码后直接就能看到效果,提升开发速度,优化开发体验。

Results 10 layaBoxEsBuild issues
Sort by recently updated
recently updated
newest added

![微信图片_20240308165702](https://github.com/yayaluoya/layaBoxEsBuild/assets/67111057/5e875b9e-80eb-4b88-b000-7b3311f9c9e7) ![xx](https://github.com/yayaluoya/layaBoxEsBuild/assets/67111057/3309633b-7f31-4e22-8790-9fae8dd20959)

请问有没有,或者能不能增加以下两个配置: 1.使用指定的浏览器打开调试 2.打开调试时自动打开调试面板

外网小项目正常构建,改了ts,访问后又变化,内网大项目就不行,但是又没报错。 要是能知道怎么调试就好了

更新到了1.1了,现在就是正式版了,所以记录下接下来的更新。 后面更新会更偏重与优化,和扫bug。

{ "describe": "终端提示:Error: esbuild: Failed to install correctly", "resolve": "可能是node版本过低npm版本过高,尝试升高node版本,降低npm版本。推荐使用node 12。" }, { "describe": "终端提示:esbuild打包错误", "resolve": "可能是ts文件中的语法错误或者不规范导致的,尝试修改对应的ts文件即可。" },

由于项目需要在libs中放入模块代码,啥原因就不纠结了,但是在编译的时候提示打包失败,简单看了下,就是路径拼接出问题了。 好像指定了从src目录下去查找文件 实际是上的路劲应该不包含src才对。 ![snipaste_20220105_162639](https://user-images.githubusercontent.com/54347262/148184994-6c3b0d34-87bc-4f94-add9-9dc036c350b9.jpg) ![snipaste_20220105_162047](https://user-images.githubusercontent.com/54347262/148185050-f01bcc71-61d8-41a6-87b5-d221b6f49d8f.jpg)

经检查发现`config.js`文件出现在该项目根路径下,而不是出现在`dist`目录下 ![image](https://user-images.githubusercontent.com/64941905/126177776-75f679ba-1967-4893-98c0-9066de64b2d3.png)

正常秒进的设备: ![image](https://user-images.githubusercontent.com/54347262/121486315-9c3eb500-ca03-11eb-9480-640edc41f986.png) ![image](https://user-images.githubusercontent.com/54347262/121486346-a2cd2c80-ca03-11eb-968f-70064ec85fc5.png) Error 无法正常编译的设备: 设备信息: ![image](https://user-images.githubusercontent.com/54347262/121485779-1b7fb900-ca03-11eb-8707-6ee5fba09bc6.png) CPU直接跑满: ![image](https://user-images.githubusercontent.com/54347262/121485675-fee38100-ca02-11eb-8eab-cbf93baad931.png) 结果反馈: 1.打包失败 ![image](https://user-images.githubusercontent.com/54347262/121485885-37835a80-ca03-11eb-89a5-0437bf2f15c9.png) 2.等待打包成功,进入游戏也非常慢,当然js文件数量500多个ts文件