我需要将文件夹 src/plugin@xxx 中的文件复制到 dist/plugin。
版本可以更改,所以我想在任何地方省略版本号。我愿意:
files[{
cwd: 'src'
src: 'plugin@*/**/*'
dest: 'dist/plugin'
}];
但它将我的文件复制到 dist/plugin/plugin@xxx 目录。
我希望我的文件在 dist/plugin 目录中(在 grunt 任务中没有指定 xxx)。
我需要将文件夹 src/plugin@xxx 中的文件复制到 dist/plugin。
版本可以更改,所以我想在任何地方省略版本号。我愿意:
files[{
cwd: 'src'
src: 'plugin@*/**/*'
dest: 'dist/plugin'
}];
但它将我的文件复制到 dist/plugin/plugin@xxx 目录。
我希望我的文件在 dist/plugin 目录中(在 grunt 任务中没有指定 xxx)。