Open metalim opened 7 years ago
Had the same issue. I think the other method is supposed to use now.
Use cocos deploy -p web -m release
instead and your game will be compiled to a single file game.min.js
located in the publish\html5
subfolder of your project.
Moreover this method includes only modules specified in project.json's modules
section.
Old method of building cocos2d-html5 (cd tools && ant) does not work anymore, as build.xml contains deprecated list of files (camera, etc) since summer 2016. Are there new build instructions?