用于构建缩小化的 MobileFirst ant 脚本

MobileFirst ant scripts for build with minification

我一直在构建一个应用程序,并且一直在使用在 Studio 中激活的 MobileFirst 缩小。 现在我正在开发 ant 脚本,但似乎找不到 属性 来在 ant 构建期间激活缩小。

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

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