I am trying to determine what my webpack has been taking for so long. I'm trying to find any logging options or debugging options, so webpack will log information about what it is doing ... I looked around and saw a couple of things, such as the noInfo: false option, but it does nothing for me ...
I am using node.js api. Here is an example:
var compiler = webpack(config) compiler.run(function(err, stats) { if (err) { console.error(err) return } else { fs.writeFileSync(path.join(root, 'webpack', 'stats.'+projectName+'.json'), stats.toJson(), 'utf8') console.log("done: stats."+projectName+'.json') } });
webpack
Chet
source share