coma / gulp-svg-icons

Inserting SVG icons was never so easy.
MIT License
24 stars 3 forks source link

A question #5

Open Soularix opened 9 years ago

Soularix commented 9 years ago

hey, the task didnt work for me when I copied ur code , but when I removed : var htmls = path.join(fixtures, 'html', '*', '.html'); it worked can someone pls tell me what is that var for

coma commented 9 years ago

I'm not sure what's the problem here... Could you send me your gulp script and show me your directory structure in order to address the issue?

Soularix commented 9 years ago

Now it's working here is what I wrote : var icons = new Icons("img/icons"); // SVg gulp.task("replaceSvg", function() { return gulp .src("*.html") .pipe(icons.replace()) .pipe(icons.inject()) .pipe(gulp.dest("")); });