JSPM

gulp-image-set

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q26667F
  • License MIT

Gulp plugin to add future-proofed support for W3C-style image set notation.

Package Exports

  • gulp-image-set

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-image-set) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-image-set

Build Status

Gulp plugin to add future-proofed support for W3C-style image set notation. This provides a backround-image fallback for browsers that don't support image-set.

Installation

npm install --save gulp-image-set

Usage

var gulp     = require('gulp'),
    imageSet = require('gulp-class-prefix');

gulp.task('image-set', function() {
  return gulp.src('my-file.css')
    .pipe(imageSet())
    .pipe(gulp.dest('dist'));
});

gulp.task('default', ['image-set']);

License

MIT

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by John Otander (@4lpine).

This package was initially generated with yeoman and the p generator.