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

Function onAnalysis

test/test.js:223–223  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

221 test(`${version}: tree shaking is accounted for`, async (assert) => {
222 let results
223 const onAnalysis = (r) => { results = r.modules }
224 const plugins = [plugin({ onAnalysis, skipFormatted })]
225 const rollOpts = Object.assign({}, opts, { plugins })
226 const bundle = await rollup(rollOpts)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…