Cocos2d-js Html output problem

i created a new project in cocos2d-js and tried build the web output…as per this says http://www.raywenderlich.com/33028/how-to-make-a-cross-platform-game-with-cocos2d-javascript-tutorial-the-platforms but when i tried to run the project it was working fine … but when the build comes the project is not working properly…

I think, there were some sort of JS minification and your codes were not compatible…

Check at chrome console and trace the bugs from there…

Good luck!

1 Like

try using this command in project root “cocos compile -p web -m release
it will create release folder n it will contain html output(minified)

1 Like

thank you :wink: let me try and see

ookiee thanks for the reply :smiley: