开发者

Auto compressing sencha touch files for delivery onto Heroku

I have a sencha touch app built using MVC and deployed onto Heroku.

Heroku is awesome becuase it makes delivery to the cloud seamless from my local environment.

HOWEVER, IDEALLY, I'd like the process of transferring to Heroku compress my files into one cs and one js. This way i can continue developing locally using uncompressed files and updating the app compresses and deploys the optimized version.

As o开发者_C百科f now my data size is 1.0MB and takes 3 seconds. Too much! (of course I am using debug versions of sencha at the moment.)

Anyone have any ideas?


we use asset_packager - basically a yml file which lists all your js and css files and then before deployment there's a rake rask which produces a single js and css file which we when then deploy to Heroku

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜