Introduces grunt-frienly way of configuring task with glob patterns.
Define cwd and dest directories and list your sources under src with patterns that support nested directories:
cwd: 'dist/templates/', // sources
dest: 'dist/cdnified-templates/', // destination
src: [
'index.html', // exact
'*.html', // all with extension
'*.{css,htm}', // any of extensions
'{,*/}.html', //nested one level
'{,**/}.html', //nested any level
]
Results are put to dest with respect for their original path under cwd.
Fixes the issue of results being dumped into single directory.
Introduces grunt-frienly way of configuring task with glob patterns. Define
cwd
anddest
directories and list your sources undersrc
with patterns that support nested directories:Results are put to
dest
with respect for their original path undercwd
. Fixes the issue of results being dumped into single directory.