-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
Description
For copy, we can relativize the destination directory by specifying a base directory. For example,
copy: [
{
src: 'vendor/font-awesome-4.5.0/fonts/**/*',
base: 'vendor/font-awesome-4.5.0/'
}
]
will copy the files into myBaseDirectory/fonts/. However, what if I wanted to copy the files into myBaseDirectory/foo/ instead? I know I can set options.base in my gulpfile, but this is a global configuration parameter. In this case, we just want to specify the target directory for the fonts.