1.0.2 • Published 7 years ago

gulp-injectmd52self v1.0.2

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

gulp-injectmd52self

A gulp plugin that help you to inject file's md5 into itself.

Usage

install gulp-injectmd52self as a development dependency. warn: you should has a 'placeholder' that would be placed in your file.

npm install --save-dev gulp-injectmd52self

Then, add it to your gulpfile.js:

var injectmd52self = require('gulp-injectmd52self');

gulp.task('templates', function(){
  gulp.src(['file.txt'])
    .pipe(injectmd52self('your pattern')
    .pipe(gulp.dest('build/file.txt'));
});