title: Problematic webGL support in electron
body: <p>I have big problem with using webGL by webview in the electron application that run on mac osx. 
  I need some extra dependencies like ES6,React,LESS so i basically include in the devDependencies newest "electron-prebuilt-compile" version. Unfortunately in that case webview with webGL is not runnning properly and electron prompt me such message:
  <a href="https://i.stack.imgur.com/W9ls0.png" rel="nofollow noreferrer">Electron error message</a></p>
  
  <blockquote>
    <p>An error occured running the Unity content on this page. See your browser's JavaScript console for more info. the error was: Uncaught SyntaxError: Unexpected identifier</p>
  </blockquote>
  
  <p>Then, if i change devDependency into "electron", webGL support is working properly. Unfortunately EcmaScript methods like import/export and whole React dependcies are not working. I tried to add those dependencies by hand in the "dependencies" section (babel, sass, react) but it didn't solve the problem.</p>