title: Winston logger in angular-electron application
body: <p>I am working on angular + electron application. I am using angular version 8. I am trying to add logger to my application and for logging on electron part I am trying to use winston logger. </p>
  
  <p>Once I add winston config file in my application I get following errors on npm run build</p>
  
  <pre><code>ERROR in ./node_modules/winston/dist/winston/tail-file.js
  Module not found: Error: Can't resolve 'fs' in 'C:\Users\node_modules\winston\dist\winston'
  ERROR in ./node_modules/winston/dist/winston/transports/file.js
  Module not found: Error: Can't resolve 'fs' in 'C:\Users\node_modules\winston\dist\winston\transports'
  ERROR in ./node_modules/winston/dist/winston/transports/http.js
  Module not found: Error: Can't resolve 'http' in 'C:\Users\node_modules\winston\dist\winston\transports'
  ERROR in ./node_modules/winston/dist/winston/transports/http.js
  Module not found: Error: Can't resolve 'https' in 'C:\Users\node_modules\winston\dist\winston\transports'
  ERROR in ./node_modules/winston/dist/winston/transports/file.js
  Module not found: Error: Can't resolve 'zlib' in 'C:\Users\node_modules\winston\dist\winston\transports'
  </code></pre>
  
  <p>Even after defining these dependencies in package.json, I am not able to resolve these issues.</p>
  
  <p>How to resolve these issues?</p>