Grunt task for glob-html.
Sample configuration:
module.exports = function (grunt) {
grunt.initConfig({
glob: {
dev: {
files: [{
expand: true,
cwd: 'public',
src: ['**/*.html'],
dest: 'public',
ext: '.html'
}]
},
options: {
cssPrefix: 'stylesheets',
jsPrefix: 'scripts'
}
}
});
grunt.loadNpmTasks('grunt-html-glob');
};
See glob-html documentation for more information.