They can be packed into single files. Google compiler will be a great tool for you.
You may find some build.xml files in engine, and they may help you to pack the engine files with ant easily.
- Go to “/Cocos2d-html5/cocos2d” directory
- Type “ant” and run it in you console
The sigle file of engine will be released in “Cocos2d-html5/lib” directory.
Moreover, all your app files can be packed into a single file together with engine files.
The performance will be improved if you choose advance mode.
Please refer to the build.xml file on /cocos2d-html5/tests/builder.xml in v2.0 or /cocos2d-html5/samples/tests/build.xml in* v2.1*.