winston version 3.2winstonLogger.Log() fails with the exception:
Uncaught TypeError: fs.existsSync is not a function
at File._createLogDirIfNotExist (file.js:804)
at new File (file.js:132)
at Object. (mylogger.js:16)
at webpack_require (bootstrap 284d16fcfe1dcfa44176:676)
at fn (bootstrap 284d16fcfe1dcfa44176:87)
at Object. (mymodule.js:5)
at webpack_require (bootstrap 284d16fcfe1dcfa44176:676)
at fn (bootstrap 284d16fcfe1dcfa44176:87)
at Object. (app.js:21)
at webpack_require (bootstrap 284d16fcfe1dcfa44176:676)
I expect the .log() function to log to a file transport