Use Babel for main process
See original GitHub issueWhat’s the consensus about letting the main process run through babel too? The issue I’m having is that I want to use redux-electron-store
but I can’t require any of the reducers because they use the ES6 module syntax which currently isn’t supported by the latest versions of Electron/Chromium.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:5
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Usage Guide - Babel.js
The entire process to set this up involves: Running these commands to install the packages: ... Here's the installation command and a basic...
Read more >Babel · The compiler for next generation JavaScript - Babel.js
Using Babel. How to use Babel with your tool of choice. 1Choose your tool (try CLI). Prototyping. In the browser. Babel built-ins. CLIRequire...
Read more >Configure Babel
Babel can be configured! Many other tools have similar configs: ESLint ( .eslintrc ), Prettier ( .prettierrc ). All Babel API options are...
Read more >babel/standalone
It provides an easy, convenient way to prototype with Babel. Using @babel/standalone, you can get started using Babel with just a simple script...
Read more >Options - Babel.js
Primary options. These options are only allowed as part of Babel's programmatic options, so they are primarily for use by tools that wrap...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closed via #197.
@naderhen: it just worked for me.
My entry point file looks like this:
./main/init.js
is where mymain
process logic is and it uses ES6 modules.