If it is the original engine, it will be larger, but the final release of the time we all recommend you pack into release version, this can use the Cocos command
Cocos compile-p Web
To complete the easy packaging, will be in your project directory to create a publish directory, only need to deploy this folder to the server side, the release mode JS file will be closure compiler advanced compression
In addition, in order not to reference the engine you do not need the module, you can configure the module in Project.json, refer to the following two documents:
Http://www.cocos2d-x.org/docs/manual/framework/html5/v3/project-json/zh
Http://www.cocos2d-x.org/docs/manual/framework/html5/v3/moduleconfig-json/zh
Finally, we also provide a single-file configurable version of the Web engine, please download it at this address:
http://cocos2d-x.org/filecenter/jsbuilder/
Cocos2d-js 3.0rc0 load game engine long time black screen