Function: createIndex()
ts
function createIndex(css, options?): CssDocIndex;Defined in: packages/index/src/index.ts:315
Build an index from CSS, with source spans. Parses the model via @cssdoc/core, then makes a second PostCSS pass to locate each record and member.
Parameters
css
string
The CSS source.
options?
file (attached to locations) and configuration (custom tags).
configuration?
file?
string
Returns
The index.