Saturday, 15 January 2011

javascript - Possible to use globbing for grunt `dest`? -



javascript - Possible to use globbing for grunt `dest`? -

is possible utilize globbing specify dest property of grunt task? e.g.:

dev: { src: './src/**/*.html', dest: './build/dev/**/*.html' }

instead of:

dev: { expand: true, cwd: './src/', src: ['**/*.html'], dest: './build/dev/', ext: '.html' }

i inquire because i'd utilize dev.src in template elsewhere in gruntfile, if there's different way via grunt.file.expand i'm interested in too.

javascript gruntjs glob

No comments:

Post a Comment