title: Winston not working with webpack
body: <p>I'm trying to use Winston in my React project but Webpack seems to be causing errors while building:</p>
  
  <blockquote>
    <p>WARNING in node_modules/winston/lib/winston/transports.js
    Critical dependencies:
    23:17-34 the request of a dependency is an expression
     @ node_modules/winston/lib/winston/transports.js 23:17-34</p>
    
    <p>WARNING in node_modules/colors/lib/colors.js
    Critical dependencies:
    127:29-43 the request of a dependency is an expression
     @ node_modules/colors/lib/colors.js 127:29-43</p>
    
    <p>WARNING in node_modules/colors/lib/extendStringPrototype.js
    Critical dependencies:
    106:31-45 the request of a dependency is an expression
     @ node_modules/colors/lib/extendStringPrototype.js 106:31-45</p>
    
    <p>ERROR in node_modules/winston/lib/winston/common.js
    Module not found: Error: Cannot resolve module 'fs' in node_modules/winston/lib/winston
     @ node_modules/winston/lib/winston/common.js 12:9-22</p>
    
    <p>ERROR in node_modules/pkginfo/lib/pkginfo.js
    Module not found: Error: Cannot resolve module 'fs' in node_modules/pkginfo/lib
     @ node_modules/pkginfo/lib/pkginfo.js 8:9-22</p>
    
    <p>ERROR in node_modules/winston/lib/winston/transports/file.js
    Module not found: Error: Cannot resolve module 'fs' in node_modules/winston/lib/winston/transports
     @ node_modules/winston/lib/winston/transports/file.js 10:9-22</p>
  </blockquote>
  
  <p>From what I've understood by digging around the problem is being caused by webpacks inability to deal with some dynamic require statements. Does anyone know a way around this or some solution to the same?</p>