processSrcSet() — tailwindcss Function Reference
Architecture documentation for the processSrcSet() function in urls.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 5d2447d2_283c_2afa_cd2e_53572764a710["processSrcSet()"] 03f31b9c_dbf2_bdf2_18d8_8b2958a2a30d["rewriteCssImageSet()"] 03f31b9c_dbf2_bdf2_18d8_8b2958a2a30d -->|calls| 5d2447d2_283c_2afa_cd2e_53572764a710 36f53dba_8fb3_38bc_2066_ea45f87b42e1["parseSrcset()"] 5d2447d2_283c_2afa_cd2e_53572764a710 -->|calls| 36f53dba_8fb3_38bc_2066_ea45f87b42e1 style 5d2447d2_283c_2afa_cd2e_53572764a710 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-node/src/urls.ts lines 162–172
function processSrcSet(
srcs: string,
replacer: (arg: ImageCandidate) => Promise<string>,
): Promise<string> {
return Promise.all(
parseSrcset(srcs).map(async ({ url, descriptor }) => ({
url: await replacer({ url, descriptor }),
descriptor,
})),
).then(joinSrcset)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does processSrcSet() do?
processSrcSet() is a function in the tailwindcss codebase.
What does processSrcSet() call?
processSrcSet() calls 1 function(s): parseSrcset.
What calls processSrcSet()?
processSrcSet() is called by 1 function(s): rewriteCssImageSet.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free