gulp-assemble icon indicating copy to clipboard operation
gulp-assemble copied to clipboard

Feedback about assets

Open Zackio opened this issue 9 years ago • 1 comments

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 .//

Zackio avatar Apr 08 '15 08:04 Zackio

thanks for the heads up! we'll get this fixed

jonschlinkert avatar May 03 '15 06:05 jonschlinkert