minify language resource

This commit is contained in:
MaysWind 2016-07-17 00:51:23 +08:00
parent 068c80d877
commit 0e0fa4ebbf
2 changed files with 2 additions and 0 deletions

View file

@ -45,6 +45,7 @@ gulp.task('html', ['styles', 'scripts'], function () {
gulp.task('langs', function () {
return gulp.src('src/langs/**/*')
.pipe($.jsonminify())
.pipe(gulp.dest('dist/langs'));
});

View file

@ -12,6 +12,7 @@
"gulp-eslint": "^2.0.0",
"gulp-htmlmin": "^1.3.0",
"gulp-if": "^2.0.0",
"gulp-jsonminify": "^1.0.0",
"gulp-load-plugins": "^0.10.0",
"gulp-plumber": "^1.0.1",
"gulp-replace": "^0.5.4",