Expands glob expressions in HTML resource URLs.
var htmlGlob = require('gulp-html-glob-expansion');
gulp.task('default', function () {
return gulp.src('app/index.html')
.pipe(htmlGlob({root: 'app'}))
.pipe(gulp.dest('dist'));
});
-
root
Specify the directory used to expand root-relative paths.