MCPcopy
hub / github.com/webpack/webpack / createStatsFactory

Method createStatsFactory

lib/Compilation.js:1447–1451  ·  view source on GitHub ↗

* Creates a stats factory. * @param {NormalizedStatsOptions} options options * @returns {StatsFactory} the stats factory

(options)

Source from the content-addressed store, hash-verified

1445 * @returns {StatsFactory} the stats factory
1446 */
1447 createStatsFactory(options) {
1448 const statsFactory = new StatsFactory();
1449 this.hooks.statsFactory.call(statsFactory, options);
1450 return statsFactory;
1451 }
1452
1453 /**
1454 * Creates a stats printer.

Callers 3

toJsonMethod · 0.80
toStringMethod · 0.80
applyMethod · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected