gulp-critical-injector
v0.1.3
Published
Gulp wrapper for critical-injector module
Downloads
1
Maintainers
Readme
Gulp Critical Injector
Inject CSS, JS file contents using critical-injector.
Usage
const gulp = require('gulp'),
injector = require('gulp-critical-injector');
gulp.task('html', function () {
return gulp.src('src/*.html')
.pipe(injector({
basePath: 'src'
}))
.pipe(gulp.dest('build'));
});