title: Transform JSX to JS using babel
body: <p>I'm new to babel and I'm trying to convert my main.jsx file to main.js. I installed the following babel plugin.</p>
  
  <pre><code>npm install --save-dev babel-plugin-transform-react-jsx
  </code></pre>
  
  <p>Created a file called .babelrc in the application root directory.</p>
  
  <pre><code>{
     "plugins": ["transform-react-jsx"]
  }
  </code></pre>
  
  <p>My app is using the express server, so on running node app.js I was expecting the babel to transform main.jsx to main.js but nothing happens.
  Can any one point out what I'm doing wrong ?</p>