MCPcopy
hub / github.com/tailwindlabs/tailwindcss / onInvalidCandidate

Function onInvalidCandidate

packages/tailwindcss/src/index.ts:727–729  ·  packages/tailwindcss/src/index.ts::onInvalidCandidate
(candidate: string)

Source from the content-addressed store, hash-verified

725
726 class="cm">// Track all invalid candidates
727 function onInvalidCandidate(candidate: string) {
728 designSystem.invalidCandidates.add(candidate)
729 }
730
731 class="cm">// Track all valid candidates, these are the incoming `rawCandidate` that
732 class="cm">// resulted in a generated AST Node. All the other `rawCandidates` are invalid

Callers 1

compileCandidatesFunction · 0.70

Calls 1

addMethod · 0.45

Tested by

no test coverage detected