code: function buildBrowser(file, watch) {
    const props = {
      entries: [paths.src + file + '.js'],
      debug : true,
      cache: {},
      packageCache: {},
      standalone: 'swapi'
    };
  
    const bundler = watch ? watchify(browserify(props)) : browserify(props);
  
    function rebundle() {
      let stream = bundler.transform('babelify')
        .bundle();
      return stream
        .pipe($.plumber())
        .on('error', (err) => { $.notify().write(err); })
        .pipe(source(file + '.browser.js'))
        .pipe(buffer())
        .pipe($.uglify())
        .pipe(gulp.dest(paths.dist));
    }
  
    bundler.on('update', function() {
      rebundle();
      $.util.log('Rebundle...');
    });
  
    return rebundle();
  }
docs: /*
  Transpiles and uglifies JS file for browser.