MCPcopy Index your code
hub / github.com/webpack/webpack-bundle-analyzer / generateReportFrom

Function generateReportFrom

test/analyzer.js:10–17  ·  view source on GitHub ↗
(statsFilename, additionalOptions = "")

Source from the content-addressed store, hash-verified

8let browser;
9
10function generateReportFrom(statsFilename, additionalOptions = "") {
11 childProcess.execSync(
12 `../lib/bin/analyzer.js ${additionalOptions} -m static -r output/report.html -O stats/${statsFilename}`,
13 {
14 cwd: __dirname,
15 },
16 );
17}
18
19async function getTitleFromReport() {
20 const page = await browser.newPage();

Callers 1

analyzer.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…