Closed ruipimentel closed 6 years ago
Yes, I've solved this challenge, but I had to eject the underlying webpack and build from it to re-integrate HMR and Live reload workflows. I will finish the NGRX PR then create another for the native module support and updated workflow with the ejected cli until another solution either from the CLI team or otherwise presents itself.
Native module support added in #6
Thank you! I'll check this out ASAP :)
Reproduction steps:
app.component.ts
, add the followingrequire()
:With
gulp
command, the following is displayed in red in Electron's console:Uncaught TypeError: fs.existsSync is not a function vendor.bundle.js:426
With
ng test
command, the following is displayed in red on the terminal:Error: Can't resolve 'fs' in '.../electron-angular-ngrx/node_modules/electron'