createResolvedUserConfig() — tailwindcss Function Reference
Architecture documentation for the createResolvedUserConfig() function in prepare-config.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 5fced395_cdfc_4802_a67e_74f87df5bfef["createResolvedUserConfig()"] ac975fa0_6dfb_5b95_d79d_ea10cebf80a5["prepareConfig()"] ac975fa0_6dfb_5b95_d79d_ea10cebf80a5 -->|calls| 5fced395_cdfc_4802_a67e_74f87df5bfef aee9f739_9a7b_d15f_6c82_a35dce42a8e6["loadModule()"] 5fced395_cdfc_4802_a67e_74f87df5bfef -->|calls| aee9f739_9a7b_d15f_6c82_a35dce42a8e6 678b66f4_0a04_0d6e_1925_b3716614324d["resolveConfig()"] 5fced395_cdfc_4802_a67e_74f87df5bfef -->|calls| 678b66f4_0a04_0d6e_1925_b3716614324d style 5fced395_cdfc_4802_a67e_74f87df5bfef 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.
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