gulp-res-to-hash

0.1.1 • Public • Published

gulp-res-to-hash

Смотрит файл и по его ресурсу пдставляет хеш

Пример задачи

gulp.task('restohash', function() {

    var filename = minimist(process.argv).name || '*'

    return gulp
        .src('./dest/' + filename + '.html')
        .pipe(gulpResToHash())
        .pipe(gulp.dest(function(file) {
            return file.base;
        }));

});

Package Sidebar

Install

npm i gulp-res-to-hash

Weekly Downloads

1

Version

0.1.1

License

none

Last publish

Collaborators

  • mrlozchka
  • kamil.ocean
  • greensleeves