MCPcopy Create free account
hub / github.com/doesdev/rollup-plugin-analyzer / onAnalysis

Function onAnalysis

module.js:175–178  ·  view source on GitHub ↗
(analysis)

Source from the content-addressed store, hash-verified

173 const writeTo = opts.writeTo || (opts.stdout ? console.log : console.error)
174
175 const onAnalysis = (analysis) => {
176 if (typeof opts.onAnalysis === 'function') opts.onAnalysis(analysis)
177 if (!opts.skipFormatted) writeTo(reporter(analysis, opts))
178 }
179
180 return {
181 name: 'rollup-plugin-analyzer',

Callers

nothing calls this directly

Calls 2

writeToFunction · 0.85
reporterFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…