MCPcopy
hub / github.com/rollup/rollup / normalizePluginOption

Function normalizePluginOption

src/utils/options/options.ts:254–254  ·  view source on GitHub ↗
(plugins: any)

Source from the content-addressed store, hash-verified

252 (plugins: OutputPluginOption): Promise<OutputPlugin[]>;
253 (plugins: unknown): Promise<any[]>;
254} = async (plugins: any) => (await asyncFlatten([plugins])).filter(Boolean);

Callers 7

mergeOptionsFunction · 0.90
mergeOutputOptionsFunction · 0.90
normalizeInputOptionsFunction · 0.90
normalizeOutputOptionsFunction · 0.90
getProcessedInputOptionsFunction · 0.90

Calls 1

asyncFlattenFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…