code: function compressJS() {
      let tasks = [];
  
      Object.keys(config.tasks).forEach((key) => {
          let val = config.tasks[key];
          tasks.push(gulp.src(val.src)
              .pipe(plumber({ errorHandler: handleErrors }))
              .pipe(uglify())
              .pipe(rename(config.rename))
              .pipe(gulp.dest(val.dest)));
      });
  
      return merge(tasks);
  }
docs: Create minified versions of all JS assets.