用于构建的 MobileFirst ant 脚本 [英] MobileFirst ant scripts for build with minification

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

问题描述

我一直在构建一个应用程序,并且一直在使用在 Studio 中激活的 MobileFirst 缩小.现在我正在开发 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.

我的 build-settings.xml 已正确配置,但我的 ant 构建不会生成缩小的代码.我缺少什么?

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

推荐答案

您可以在构建器中使用属性 concatenate="true" 和 minifyResources="true"元素.

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

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

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