electron-userland / electron-prebuilt-compile

electron-prebuilt with Babel and React built-in
167 stars 50 forks source link

async functions not working? #6

Closed aendra-rininsland closed 8 years ago

aendra-rininsland commented 8 years ago

Hi! I've used this in a project that leverages async/await, and although it works perfectly fine when I just do electron ., whenever I use electron-packager I get Unexpected token ( errors in the built app, leading me to believe the build process isn't transpiling my JS and thus Electron is choking on the async functions.

Any idea what extra config I need to do to get EPC to build correctly? Thanks!

aendra-rininsland commented 8 years ago

I misdiagnosed this issue; see #7.