title: How do I get Babel 6 to compile to ES5 javascript?
body: <p>I've installed the latest version of babel. Currently 6.4.0. I create a file called myclass.js that has the following code.</p>
  
  <pre><code>class MyClass {
      constructor(name) {
          console.log("I am a MyClass object .. ", name);
      }
  }
  
  var myclass = new MyClass('1234');
  </code></pre>
  
  <p>after creating my class I do the following in the command line. </p>
  
  <pre><code>$&gt; babel ./src/myclass.js --out-file ./out/app.js
  </code></pre>
  
  <p>I would expect my app.js file to have es5 compiled javascript but it has the same exact code in it that the myclass.js file has. What am I missing that may be causing this?</p>