Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project basic setting about electron app #1

Merged
merged 3 commits into from Oct 15, 2018

Conversation

@HyunmoAhn
Copy link
Owner

commented Oct 15, 2018

Done

Project basic setting about Electron app.

When develop project, Transpiling and Hot-Loading is nessesary(to using ES6 and convenience).
This PR set Transpiling using @babel/register and hot-loading using nodemon.

Done list

  • Transpiling using babel to using ES6.
  • Set hot-load using nodemon.
HyunmoAhn added 3 commits Oct 15, 2018
Use babel to using ES6 JS in electron.
Current setting must use only development environment.
If you want to build and release, Use another way.

## Notice
Because using `electron {somePath}`, not `electron .` in npm script, app name will be "electron".
It doesn't occur in prod environment. Just development enviroment.

ref electron/electron#13552
Attach Hot-load using nodemon.
When change code in development, dev-process will rerun automatically.

@HyunmoAhn HyunmoAhn merged commit b1684b0 into master Oct 15, 2018

@HyunmoAhn HyunmoAhn added the Reference label Oct 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.