title: Missing code using gulp, babel, and uglify
body: <p><strong>What I'm trying to accomplish</strong></p>
  
  <p>I'm trying to get my Javascript code on the client side to be Object-Oriented using ES6 or at least using the module pattern.</p>
  
  <p>I realize that this means that it's going to need transpiled and because I'm already using gulp for other tasks, I'm trying to get Gulp to automate the transpiling for me. </p>
  
  <p><strong>Disclaimer</strong></p>
  
  <p>I'm not even what I'm trying to do is even possible the way I'm doing it so feel free to tell me that it's not possible.</p>
  
  <p><strong>The Gulp File</strong></p>
  
  <pre><code>gulp.task('client', function(callback) {
      pump([
          browserify({ entries: config.js.src, debug: true })
              .transform("babelify", { presets: ["es2015"] })
              .bundle(),
          source('app.js'),
          buffer(),
          uglify(),
          gulp.dest(config.js.dest),
          livereload()
      ], callback);
  });
  </code></pre>
  
  <p>where <code>config.js.src = src/js/app.js</code> and <code>config.js.dest = public/js</code></p>
  
  <p><strong>src/js/app.js</strong></p>
  
  <pre><code>import {Rest} from './table/Rest';
  
  class App {
  
      static table() {
          let rest = new Rest();
          rest.test();
          rest.testJQuery();
      }
  
  }
  
  App.table();
  </code></pre>
  
  <p><strong>src/js/table/Rest.js</strong></p>
  
  <pre><code>import * as $ from 'jquery';
  
  export class Rest {
  
      private baseUri;
  
      constructor(baseUri) {
          this.baseUri = baseUri;
      }
  
      test() {
          console.log("Testing worked...");
      }
  
      testJQuery() {
          $('div').addClass('red');
      }
  }
  </code></pre>
  
  <p><strong>Summary</strong></p>
  
  <p>What I'm trying doesn't seem to work. I get a minified js file <code>public/app.js</code> that contains what appears to be the <code>require</code> workaround for es5 but doesn't contain any of the actual code in there. (I did a search on the word <em>test</em> in the file to if the <code>console.log</code> made it out to the file)</p>
  
  <p><strong>Additional Information</strong></p>
  
  <p>gulpfile.js vars:</p>
  
  <pre><code>var gulp = require('gulp');
  var pump = require('pump');
  
  var browserify = require('browserify');
  var watchify = require('watchify');
  var babelify = require('babelify');
  var source = require('vinyl-source-stream');
  var buffer = require('vinyl-buffer');
  var uglify = require('gulp-uglify');
  var livereload = require('gulp-livereload');
  var ts = require('gulp-typescript');
  var sass = require('gulp-sass');
  </code></pre>