choojs / create-choo-electron

:electron: - Create a fresh Choo Electron application
MIT License
29 stars 11 forks source link

Set bankai to use electron option #10

Open lejeunerenard opened 6 years ago

lejeunerenard commented 6 years ago

Without this, the renderer process scripts have built-ins (such as fs, etc) swapped out or ignored. This prevents the electron module from being loaded as internal references to fs return {}.

This PR alone will not solve issues loading the electron module. I created another PR on bankai also for excluding the electron module from the browserify transform when the electron flag is enabled. https://github.com/choojs/bankai/pull/370