create-choo-electron icon indicating copy to clipboard operation
create-choo-electron copied to clipboard

Renderer doesn't work with core node/electron modules

Open davej opened this issue 7 years ago • 1 comments

I'm new to bankai/choo so apologies if I missed something obivous.

When I try to do something like require("fs") then it fails. I can work around it with window.require("fs"), is this the recommended way of doing it or is there a better way?

davej avatar Jan 26 '18 17:01 davej

perhaps we should include the https://github.com/blahah/electron-renderify transform by default

goto-bus-stop avatar Mar 23 '18 13:03 goto-bus-stop