createInternalOptionsCache() — tailwindcss Function Reference
Architecture documentation for the createInternalOptionsCache() function in canonicalize-candidates.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 1ca43748_263c_650f_2912_f27f04b6bad9["createInternalOptionsCache()"] f6c14bbb_2e42_58cc_18f1_c89a243da9c0["canonicalize-candidates.ts"] 1ca43748_263c_650f_2912_f27f04b6bad9 -->|defined in| f6c14bbb_2e42_58cc_18f1_c89a243da9c0 26169039_1fd2_e320_1f63_11ec10a6fc52["prepareDesignSystemStorage()"] 26169039_1fd2_e320_1f63_11ec10a6fc52 -->|calls| 1ca43748_263c_650f_2912_f27f04b6bad9 style 1ca43748_263c_650f_2912_f27f04b6bad9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/canonicalize-candidates.ts lines 156–164
function createInternalOptionsCache(
designSystem: DesignSystem,
): DesignSystem['storage'][typeof INTERNAL_OPTIONS_KEY] {
return new DefaultMap((signatureOptions: SignatureOptions) => {
return new DefaultMap((features: Features) => {
return { features, designSystem, signatureOptions } satisfies InternalCanonicalizeOptions
})
})
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does createInternalOptionsCache() do?
createInternalOptionsCache() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/canonicalize-candidates.ts.
Where is createInternalOptionsCache() defined?
createInternalOptionsCache() is defined in packages/tailwindcss/src/canonicalize-candidates.ts at line 156.
What calls createInternalOptionsCache()?
createInternalOptionsCache() is called by 1 function(s): prepareDesignSystemStorage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free