Open timint opened 1 week ago
Readme example is producing an error:
import { svgicons2svgfont } from 'gulp-svgicons2svgfont'; gulp.task('Iconfont', () => { svgicons2svgfont(['assets/icons/*.svg'], { fontName: 'myfont', }) .on('glyphs', function (glyphs) { console.log(glyphs); // Here generate CSS/SCSS for your glyphs ... }) .pipe(gulp.dest('www/font/')); });
The following tasks did not complete: build, fonticons Did you forget to signal async completion?
So I tried adding async:
async
gulp.task('Iconfont', async () => {
Finished 'Iconfont' after 12 ms
All good.
Thank for the report, feel free to PR a change.
Sure, I can do that. 🙂
Readme example is producing an error:
So I tried adding
async
:All good.