[英]grunt-contrib-copy how to copy all the vendor fonts in build
my tree is like 我的树就像
public/system/lib
angular
bootstrap
fonts
font-awesome
fonts
jquery
my goal is put all the fonts folders in my public/build/fonts 我的目标是将所有字体文件夹放在public / build / fonts中
so I've tried with: 所以我尝试了:
copy: {
fonts: {
cwd: 'public/system/lib/**/fonts/',
src: '*',
dest: 'public/build/fonts',
expand: true
}
},
but it doesn't work. 但这不起作用。 Can you help me please ? 你能帮我吗 ?
尝试这样做:
cwd: ['public/system/lib/bootstrap/fonts/*', 'public/system/lib/font-awesome/fonts/*'],
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.