【发布时间】:2015-03-27 08:03:56
【问题描述】:
我目前正在使用 Grunt 和 Less 来缩小文件,我只想在我的代码中使用它 - 有许多 3rd 方文件。是否可以使用某些过滤功能的通配符?我的 Drupal 模块有前缀“snype”。
less: {
development: {
files: [
{
expand: true,
cwd: '<%= path.source %>snype*',
src: ['**/*.less'],
dest: '<%= path.destination %>',
ext: '.css',
extDot: 'first'
},
],
},
},
但这不起作用...如果我从 cwd 中删除 snype*,那么它会起作用。
【问题讨论】: