processSrcSet() — tailwindcss Function Reference
Architecture documentation for the processSrcSet() function in urls.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD a65fed37_70d1_b4de_106e_109bf26e45fc["processSrcSet()"] 3d9b4ec5_fe39_c58e_e6f0_b825053581d2["rewriteCssImageSet()"] 3d9b4ec5_fe39_c58e_e6f0_b825053581d2 -->|calls| a65fed37_70d1_b4de_106e_109bf26e45fc 01fb3c91_8ac9_b821_5f67_d6eaa3ebdb66["parseSrcset()"] a65fed37_70d1_b4de_106e_109bf26e45fc -->|calls| 01fb3c91_8ac9_b821_5f67_d6eaa3ebdb66 style a65fed37_70d1_b4de_106e_109bf26e45fc 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