Function: indexFromEntries()
ts
function indexFromEntries(
entries,
file?,
globalPrecedence?,
matcher?
): CssDocIndex;Defined in: packages/index/src/index.ts:410
Build an index from a model snapshot (no source spans). matcher defaults to BEM when omitted — pass the governing scope's own index.matcher when merging in provider/sibling entries, so a non-BEM project's modifier convention (rscss, attribute, …) still applies to the merged index.
Parameters
entries
file?
string
globalPrecedence?
"base" | "global"