MCPcopy Index your code
hub / github.com/doesdev/rollup-plugin-analyzer / formatted

Function formatted

module.js:165–170  ·  view source on GitHub ↗
(bundle, opts)

Source from the content-addressed store, hash-verified

163})
164
165const formatted = (bundle, opts) => new Promise((resolve, reject) => {
166 try {
167 const analysis = analyzer(bundle, opts)
168 return resolve(reporter(analysis, opts))
169 } catch (ex) { return resolve(ex.toString()) }
170})
171
172const plugin = (opts = {}) => {
173 const writeTo = opts.writeTo || (opts.stdout ? console.log : console.error)

Callers

nothing calls this directly

Calls 2

analyzerFunction · 0.70
reporterFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…