为构建具有微小MobileFirst Ant脚本 [英] MobileFirst ant scripts for build with minification

查看:342
本文介绍了为构建具有微小MobileFirst Ant脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在建立一个应用程序,并使用MobileFirst缩小在Studio激活已。
现在我正在开发Ant脚本,似乎无法找到一个属性Ant构建过程中启动的缩小。

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.

我有我集结的settings.xml配置正确,但我的蚂蚁构建不产生缩小的code。我所缺少的?

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

推荐答案

您可以使用属性连击 =true和 minifyResources =真在构建器元素。

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

这篇关于为构建具有微小MobileFirst Ant脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆