Mobilefirst:指定我要构建到设备的文件

Mobilefirst : Specify which file i want to build to device

我的公共目录中有 gulp + node_modules + test 文件夹,当我为 android、wp、[构建时,如何告诉 mobilefirst 不要将这些文件夹构建到设备中=16=] 或黑莓?

谢谢

MobileFirst 中没有任何东西可以执行此操作。但是,您可以使用 Apache Ant 任务 运行 MPFF 构建之后,从生成的本机文件夹中删除这些文件夹。

您可以在以下博客中看到 Ant 集成的示例 post。
您只需将 Ant 任务替换为适合您需要的任务即可:https://developer.ibm.com/mobilefirstplatform/2015/08/03/integrating-3rd-party-cordova-plug-ins/