gulp-assemble
gulp-assemble copied to clipboard
Feedback about assets
Just some feedback about how the {{assets}} helper is working:
When in the root dir it gives ./
When not you get ..
Which means if I put in {{assets}}/index.html
I get .//index.html
and ../index.html
or if I don't I get ./index.html
and `..index.html.
Work round if any one needs using gulp replace :
assemble.task('fix-assets', function() {
gulp.src('working/*.html')
.pipe( replace(/\.\/\//g, '') )
.pipe(gulp.dest('working'));
});
removes all .//
thanks for the heads up! we'll get this fixed