Nodular Pudding Multiverse

npm

Need private packages and team management tools?Check out npm Orgs. »

gulp-inline-assets

0.1.1 • Public • Published

gulp-inline-assets

Inline local and external assets (images, fonts) in a CSS file in the form of a data URI.

Build Status

Install

$ npm install --save-dev gulp-inline-assets

Usage

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'));
});

Options

ignoreErrors

Type: boolean

Determines if URLs with errors should be ignored.

License

MIT @ Gustavo Henke

install

npm i gulp-inline-assets

Downloadsweekly downloads

148

version

0.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability