title: How to upgrade to babel 7
body: <p>I tried to upgrade Webpack and babel to 4, 7 respectively but couldn’t make it work. Also the <a href="https://babeljs.io/docs/en/v7-migration" rel="noreferrer">official doc</a> isn’t helping much with the upgrade </p>
  
  <p>I am getting following issue </p>
  
  <blockquote>
    <p>compiler error: ERROR in Cannot find module '@babel/core'  @ multi
    main</p>
  </blockquote>
  
  <p>dependencies I am using:</p>
  
  <pre><code>"babel-core": "^6.26.3",
  "babel-eslint": "^9.0.0",
  "babel-loader": "^8.0.0",
  "babel-plugin-transform-class-properties": "^6.24.1",
  "babel-plugin-transform-object-rest-spread": "^6.26.0",
  "babel-polyfill": "^6.26.0",
  "babel-preset-env": "^1.7.0",
  "babel-preset-react": "^6.24.1",
  "webpack": "^4.15.0",
  "webpack-cli": "^3.0.8",
  "webpack-dev-server": "^3.1.4"
  </code></pre>
  
  <p>Please let me know if more details required.</p>