electron-userland / electron-prebuilt-compile

electron-prebuilt with Babel and React built-in
168 stars 56 forks source link

ES2015 syntax still unusable. #73

Open ChrisJVoss opened 5 years ago

ChrisJVoss commented 5 years ago

Hi, I am building a React + Electron app and am having trouble once the app has been packaged for release. The es2015 syntax no longer works once the app has been built.

I've seen several posts advising the use of electron-prebuilt-compile so I uninstalled electron, ran rm -rf node_modules and installed electron-prebuilt-compile@3.0.6. I am still receiving syntax errors.

Is there more to using this module when the application already exists?

Ultimately, if anyone has some information regarding packaging an app with es2015 syntax I would be very grateful.