source.ts — tailwindcss Source File
Architecture documentation for source.ts, a typescript file in the tailwindcss codebase. 0 imports, 9 dependents.
Entity Profile
Dependency Diagram
graph LR 224e6d20_656a_4689_b56d_bc18bf3b80d9["source.ts"] 25f462e7_c718_35c5_7ff1_b1b41cc176bf["ast.ts"] 25f462e7_c718_35c5_7ff1_b1b41cc176bf --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 ca8635ee_31ba_d4fd_68e2_ee9e03168422["apply.ts"] ca8635ee_31ba_d4fd_68e2_ee9e03168422 --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 42640952_ea63_55f1_1ff1_00816e2980ae["ast.ts"] 42640952_ea63_55f1_1ff1_00816e2980ae --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 daaadd53_16ee_21c6_12d9_8feaac80a91b["apply-compat-hooks.ts"] daaadd53_16ee_21c6_12d9_8feaac80a91b --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 9b5d2e3d_392e_c654_c350_1352ed70f5e8["resolve-config.ts"] 9b5d2e3d_392e_c654_c350_1352ed70f5e8 --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 af1a6ece_0432_a556_fd63_8cb4a91f12ad["plugin-api.ts"] af1a6ece_0432_a556_fd63_8cb4a91f12ad --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 54851997_7544_bab2_96ab_548e5f5df205["css-parser.ts"] 54851997_7544_bab2_96ab_548e5f5df205 --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 7fd72d4c_e95c_d849_1002_1e1c9d8aca1a["design-system.ts"] 7fd72d4c_e95c_d849_1002_1e1c9d8aca1a --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 94f6a4ae_3b1f_8e71_a096_1f7d17efc49a["source-map.ts"] 94f6a4ae_3b1f_8e71_a096_1f7d17efc49a --> 224e6d20_656a_4689_b56d_bc18bf3b80d9 style 224e6d20_656a_4689_b56d_bc18bf3b80d9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* The source code for one or more nodes in the AST
*
* This generally corresponds to a stylesheet
*/
export interface Source {
/**
* The path to the file that contains the referenced source code
*
* If this references the *output* source code, this is `null`.
*/
file: string | null
/**
* The referenced source code
*/
code: string
}
/**
* The file and offsets within it that this node covers
*
* This can represent either:
* - A location in the original CSS which caused this node to be created
* - A location in the output CSS where this node resides
*/
export type SourceLocation = [source: Source, start: number, end: number]
Domain
Types
Imported By
- packages/tailwindcss/src/compat/apply-compat-hooks.ts
- packages/tailwindcss/src/apply.ts
- packages/@tailwindcss-postcss/src/ast.ts
- packages/tailwindcss/src/ast.ts
- packages/tailwindcss/src/css-parser.ts
- packages/tailwindcss/src/design-system.ts
- packages/tailwindcss/src/compat/plugin-api.ts
- packages/tailwindcss/src/compat/config/resolve-config.ts
- packages/tailwindcss/src/source-maps/source-map.ts
Source
Frequently Asked Questions
What does source.ts do?
source.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the OxideEngine domain.
What files import source.ts?
source.ts is imported by 9 file(s): apply-compat-hooks.ts, apply.ts, ast.ts, ast.ts, css-parser.ts, design-system.ts, plugin-api.ts, resolve-config.ts, and 1 more.
Where is source.ts in the architecture?
source.ts is located at packages/tailwindcss/src/source-maps/source.ts (domain: OxideEngine, directory: packages/tailwindcss/src/source-maps).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free