MobileFirst ant scripts for build with minification

被刻印的时光 ゝ 提交于 2019-12-25 01:40:58

问题


I have been building an application and have been using MobileFirst minification activated in the Studio. Now i am developing ant scripts and can't seem to find a property to activate minification during the ant build.

I have my build-settings.xml properly configured but my ant builds don't generate minified code. What I am missing?


回答1:


You can use the attributes concatenate="true" and minifyResources="true" in the builder element.



来源:https://stackoverflow.com/questions/33286200/mobilefirst-ant-scripts-for-build-with-minification

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!