gulp-json-minify
v1.2.3
Published
Gulp wrapper for node-json-minify
Downloads
13,278
Maintainers
Readme
gulp-json-minify
gulp wrapper for node-json-minify
Install
$ npm i -S gulp-json-minify
Usage
var gulp = require('gulp'),
util = require('gulp-util'),
jsonMinify = require('gulp-json-minify');
gulp.task('json:minify', function() {
return gulp.src('src/data/spritesheet/*.json')
.pipe(jsonMinify())
.pipe(gulp.dest('build/production'))
.on('error', util.log);
});