electron-userland / electron-compile

DEPRECATED: Electron supporting package to compile JS and CSS in Electron applications
1.01k stars 99 forks source link

Consider adding react & jsx #252

Closed stavlocker closed 7 years ago

stavlocker commented 7 years ago

It'd be great if there was react & jsx compilation support right from the beginning (or it could be enabled in settings / downloaded in a different package that adds to electron-compile). It'd make developing apps with electron & electron-compile so much easier and better!

MarshallOfSound commented 7 years ago

@stavlocker You can already do this. Either through babel and the babel-preset-react preset. Or through typescript and enabling JSX transpilation

MarshallOfSound commented 7 years ago

Check out electron-forge init --template=react

stavlocker commented 7 years ago

@MarshallOfSound Thank you very much :)