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
Without this, the renderer process scripts have built-ins (such as
fs
, etc) swapped out or ignored. This prevents theelectron
module from being loaded as internal references tofs
return{}
.This PR alone will not solve issues loading the
electron
module. I created another PR onbankai
also for excluding theelectron
module from the browserify transform when the electron flag is enabled. https://github.com/choojs/bankai/pull/370