【发布时间】:2015-03-12 19:27:45
【问题描述】:
在我的GruntFile.js 我有bower 任务:
bower: {
dev: {
dest: 'lib'// will get stuff from 'bower_components' to 'lib' folder
}
},
所以当我这样做时:grunt bower 它会将 一些 内容从 bower_component 文件夹转换为 lib.. 所以我最终会在 /lib 中拥有类似 angular.js 的文件.
但它不会复制"angular.min.js",它位于bower_component。
问:如何配置 grunt bower 任务来复制缩小的 v 文件?
我现在还不想将缩小/丑化任务放到 GruntFile 中。因为这些文件已经在bower_components 中被缩小了。
【问题讨论】: