title: How convert .jsx to .js with Gulp and Babel?
body: <p>I need to convert all /src/<em>.jsx files to /src/</em>.js</p>
  
  <p>Before I used gulp-react:</p>
  
  <pre><code>var react = require('gulp-react');
  
  gulp.task('jsx', function () {
    return gulp.src('src/jsx/*.jsx')
     .pipe(react())
     .pipe(gulp.dest('src/js/'));
  });
  </code></pre>
  
  <p>It works but not without some small mistakes.
  When I use Babel website (<a href="https://babeljs.io/repl/" rel="noreferrer">https://babeljs.io/repl/</a>) all converts right. Could you help me. How can I set gulp to convert .JSX files?</p>