createResolvedUserConfig() — tailwindcss Function Reference
Architecture documentation for the createResolvedUserConfig() function in prepare-config.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD bd738f4b_3ec1_39d7_f3c7_ac0467a3d83e["createResolvedUserConfig()"] c8809718_3b35_1fdb_ff99_94e375c7360a["prepare-config.ts"] bd738f4b_3ec1_39d7_f3c7_ac0467a3d83e -->|defined in| c8809718_3b35_1fdb_ff99_94e375c7360a 9faa4462_1a05_6046_b23a_09ba561cb528["prepareConfig()"] 9faa4462_1a05_6046_b23a_09ba561cb528 -->|calls| bd738f4b_3ec1_39d7_f3c7_ac0467a3d83e 0dec976b_4cf5_63bb_0d29_f560fe197a3b["loadModule()"] bd738f4b_3ec1_39d7_f3c7_ac0467a3d83e -->|calls| 0dec976b_4cf5_63bb_0d29_f560fe197a3b 0ed24ba5_7c39_3f5a_fdbb_f973a617a172["resolveConfig()"] bd738f4b_3ec1_39d7_f3c7_ac0467a3d83e -->|calls| 0ed24ba5_7c39_3f5a_fdbb_f973a617a172 style bd738f4b_3ec1_39d7_f3c7_ac0467a3d83e 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