Inline local and external assets (images, fonts) in a CSS file in the form of a data URI.
$ npm install --save-dev gulp-inline-assets
var gulp = require('gulp');
var inlineAssets = require('gulp-inline-assets');
gulp.task('default', function () {
return gulp.src('src/app.css')
.pipe(inlineAssets(options))
.pipe(gulp.dest('dist'));
});
Type: boolean
Determines if URLs with errors should be ignored.
MIT @ Gustavo Henke