createResolvedUserConfig() — tailwindcss Function Reference
Architecture documentation for the createResolvedUserConfig() function in prepare-config.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 2e186872_4660_9caa_6330_7fce815c6ad0["createResolvedUserConfig()"] d58c78f4_5856_72aa_9dca_c418a7d7f31e["prepare-config.ts"] 2e186872_4660_9caa_6330_7fce815c6ad0 -->|defined in| d58c78f4_5856_72aa_9dca_c418a7d7f31e 3dec545a_c324_15f0_cdd3_7c9a86137145["prepareConfig()"] 3dec545a_c324_15f0_cdd3_7c9a86137145 -->|calls| 2e186872_4660_9caa_6330_7fce815c6ad0 2a6a0b85_eed3_a09b_8c8d_c2a585078dac["loadModule()"] 2e186872_4660_9caa_6330_7fce815c6ad0 -->|calls| 2a6a0b85_eed3_a09b_8c8d_c2a585078dac bc7b25d3_d5ad_3609_d595_c9755dfadcbb["resolveConfig()"] 2e186872_4660_9caa_6330_7fce815c6ad0 -->|calls| bc7b25d3_d5ad_3609_d595_c9755dfadcbb style 2e186872_4660_9caa_6330_7fce815c6ad0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-upgrade/src/codemods/template/prepare-config.ts lines 73–87
async function createResolvedUserConfig(fullConfigPath: string): Promise<Config> {
let [noopDesignSystem, unresolvedUserConfig] = await Promise.all([
__unstable__loadDesignSystem(
css`
@import 'tailwindcss';
`,
{ base: __dirname },
),
loadModule(fullConfigPath, __dirname, () => {}).then((result) => result.module) as Config,
])
return resolveConfig(noopDesignSystem, [
{ base: dirname(fullConfigPath), config: unresolvedUserConfig, reference: false },
]).resolvedConfig as any
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does createResolvedUserConfig() do?
createResolvedUserConfig() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-upgrade/src/codemods/template/prepare-config.ts.
Where is createResolvedUserConfig() defined?
createResolvedUserConfig() is defined in packages/@tailwindcss-upgrade/src/codemods/template/prepare-config.ts at line 73.
What does createResolvedUserConfig() call?
createResolvedUserConfig() calls 2 function(s): loadModule, resolveConfig.
What calls createResolvedUserConfig()?
createResolvedUserConfig() is called by 1 function(s): prepareConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free