1.0.1 • Published 7 years ago

gulp-autoprefixer-html v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

gulp-autoprefixer-html

This library exists because html-autoprefixer does not accepct can I use browser options. There is a pull request, which has been pending for a long time.

Installation

yarn add gulp-autoprefixer-html

Usage

var gulp = require( "gulp" );
var htmlAutoprefixer = require( "gulp-html-autoprefixer" );

gulp.task( "html-autoprefix", function( ) {
  return gulp.src( "./path/to/index-or-other.html" )
    .pipe( htmlAutoprefixer({ browsers: ['ie >= 10'] }) )
    .pipe( gulp.dest( "dist" ) );
} );