title: How can I uglyfy selected JS?
body: <p>I'm using <a href="https://github.com/yeoman/generator-gulp-webapp" rel="nofollow">generator-gulp-webapp</a>, but I want to just selected Javascript files that build in minified form. How can I edit <code>gulpfile.js</code> ? Here is the <code>html</code> task. I think I should edit this task.</p>
  
  <pre><code>gulp.task('html', ['views','styles'], function () {
    var assets = $.useref.assets({searchPath: ['.tmp', 'app', '.']});
  
    return gulp.src(['app/*.html', '.tmp/*.html'])
     .pipe(assets)
     .pipe($.if('*.js', $.uglify()))
     .pipe($.if('*.css', $.csso()))
     .pipe(assets.restore())
     .pipe($.useref())
     .pipe(gulp.dest('dist'));
  });
  </code></pre>