uenala / project_spa_bergauf

CAS-FEE 2015, Group 10, 2nd Project
GNU General Public License v2.0
0 stars 0 forks source link

Gulp task: minify json files #54

Closed RAeschimann closed 8 years ago

RAeschimann commented 9 years ago
 // minify json files in build directory
  var jsonminify = require('gulp-jsonminify');

  gulp.task('minify', function () {
    return gulp.src([config.buildData + '**/*.json'])
      .pipe(jsonminify())
      .pipe(gulp.dest(config.buildData));
  });