wx-jsonminify-k
v1.0.5
Published
minify json
Downloads
5
Readme
wx-jsonminify-k
Install
$ npm i --save-dev wx-jsonminify-k
Usage
var gulp = require('gulp'),
util = require('gulp-util'),
jsonMinify = require('wx-jsonminify-k');
gulp.task('json:minify', function() {
return gulp.src('src/page/*.json')
.pipe(jsonMinify())
.pipe(gulp.dest('build/production'))
.on('error', util.log);
});