title: Compiling ES6 React code using laravel-mix
body: <p>I'm trying to compile React code that is using ES6 using laravel-mix and I am running into issues compiling things like arrow functions which are prevalent in ES6 from my understanding. So I have a webpack.mix.js file of:</p>
  
  <pre><code>mix.react('resources/assets/js/app.js', 'public/js/app.js')
      .js('resources/assets/js/cross-brand-nav.js', 'public/js/app.js')
      .js('resources/assets/js/FullWidthTabs.js', 'public/js/app.js')
      .version()
      .combine([
          'resources/assets/bower_assets/jquery/dist/jquery.min.js',
          'resources/assets/bower_assets/moment/min/moment.min.js',
          'resources/assets/bower_assets/bootstrap/dist/js/bootstrap.js',
          'resources/assets/bower_assets/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js',
          'resources/assets/js/admin.js'
      ], 'public/js/admin.js').version()
      .sass('resources/assets/sass/app.scss', 'public/css')
      .sass('resources/assets/bower_assets/components-font-awesome/scss/font-awesome.scss', 'public/css').version()
      .styles([
          'resources/assets/css/FullWidthTabs.css'
      ], 'public/css/pf.css')
      .styles([
          'resources/assets/bower_assets/bootstrap/dist/css/bootstrap.min.css',
          'resources/assets/bower_assets/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css'
          ], 'public/css/admin.css').version();
  </code></pre>
  
  <p>when I try to compile code like:</p>
  
  <pre><code>testFunction = () =&gt; {
  
      }
  </code></pre>
  
  <p>I get an error like so: </p>
  
  <blockquote>
    <p>compile error Module build failed: SyntaxError: Unexpected token
    (51:17)</p>
  </blockquote>
  
  <p>This is pointing right at that function. Any extra steps I need to take compile correctly in ES6?</p>