title: Reactjs Unexpected token Error Only On Windows, Not Linux
body: <p>So for my first ReactJS tutorial I was using a Ubuntu VM, and remember running into this problem because I forgot to install react and react-dom dependencies. I am now on windows, have made sure to install everything and I am getting the same error:</p>
  
  <p><a href="https://i.stack.imgur.com/cA9gU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cA9gU.jpg" alt="enter image description here"></a></p>
  
  <p>For my package.json I have this:</p>
  
  <pre><code>{
    "name": "github-battle",
    "version": "1.0.0",
    "description": "",
    "main": "webpack.config.js",
    "dependencies": {},
    "devDependencies": {
      "babel-core": "^6.26.0",
      "babel-loader": "^7.1.2",
      "babel-preset-env": "^1.6.1",
      "babel-preset-react": "^6.24.1",
      "css-loader": "^0.28.9",
      "html-webpack-plugin": "^2.30.1",
      "react": "^16.2.0",
      "react-dom": "^16.2.0",
      "style-loader": "^0.20.2",
      "webpack": "^3.11.0",
      "webpack-dev-server": "^2.11.1"
    },
    "scripts": {
      "create": "webpack"
    },
    "author": "",
    "license": "ISC"
  }
  </code></pre>
  
  <p>For my webpack.config.js</p>
  
  <pre><code>var path = require('path');
   var HtmlWebpackPlugin = require('html-webpack-plugin');
  
   module.exports = {
     entry: './app/index.js',
     output: {
       path: path.resolve(__dirname, 'dist'),
       filename: 'index_bundle.js',
       publicPath: '/'
     },
     module: {
       rules: [
         { test: /\.(js)$/, use: 'babel-loader' },
         { test: /\.css$/, use: [ 'style-loader', 'css-loader' ]}
       ]
     },
     devServer: {
       historyApiFallback: true,
      },
     plugins: [
       new HtmlWebpackPlugin({
         template: 'app/index.html'
       })
     ]
   };
  </code></pre>
  
  <p>index.js</p>
  
  <pre><code>var React = require('react');
  var ReactDOM = require('react-dom');
  require('./index.css');
  
  class App extends React.Component{
      render(){
          return(
              &lt;div&gt;Hello World&lt;/div&gt;
          )
      }
  }
  
  ReactDOM.render(&lt;App /&gt;, document.getElementById('app'));
  </code></pre>
  
  <p>Is there something I have to do differently in windows?</p>