gulp-injectmd52self
v1.0.2
Published
A gulp plugin that help you to inject file's md5 into itself
Downloads
5
Readme
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'));
});