minify language resource
This commit is contained in:
parent
068c80d877
commit
0e0fa4ebbf
|
@ -45,6 +45,7 @@ gulp.task('html', ['styles', 'scripts'], function () {
|
||||||
|
|
||||||
gulp.task('langs', function () {
|
gulp.task('langs', function () {
|
||||||
return gulp.src('src/langs/**/*')
|
return gulp.src('src/langs/**/*')
|
||||||
|
.pipe($.jsonminify())
|
||||||
.pipe(gulp.dest('dist/langs'));
|
.pipe(gulp.dest('dist/langs'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
"gulp-eslint": "^2.0.0",
|
"gulp-eslint": "^2.0.0",
|
||||||
"gulp-htmlmin": "^1.3.0",
|
"gulp-htmlmin": "^1.3.0",
|
||||||
"gulp-if": "^2.0.0",
|
"gulp-if": "^2.0.0",
|
||||||
|
"gulp-jsonminify": "^1.0.0",
|
||||||
"gulp-load-plugins": "^0.10.0",
|
"gulp-load-plugins": "^0.10.0",
|
||||||
"gulp-plumber": "^1.0.1",
|
"gulp-plumber": "^1.0.1",
|
||||||
"gulp-replace": "^0.5.4",
|
"gulp-replace": "^0.5.4",
|
||||||
|
|
Reference in a new issue