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 45262882_ddec_eb81_dedb_b4f286a3f721["source.ts"] 9106ed35_a5a8_5f41_7f5e_a6fe5287f68d["ast.ts"] 9106ed35_a5a8_5f41_7f5e_a6fe5287f68d --> 45262882_ddec_eb81_dedb_b4f286a3f721 1721da0c_9e1d_5bee_ab0a_a192cfa6640d["apply.ts"] 1721da0c_9e1d_5bee_ab0a_a192cfa6640d --> 45262882_ddec_eb81_dedb_b4f286a3f721 b9cbffa4_c352_cf3c_268f_cbb174fb3a47["ast.ts"] b9cbffa4_c352_cf3c_268f_cbb174fb3a47 --> 45262882_ddec_eb81_dedb_b4f286a3f721 2745c5e0_8ea4_a1c7_4f84_369746e3eb63["apply-compat-hooks.ts"] 2745c5e0_8ea4_a1c7_4f84_369746e3eb63 --> 45262882_ddec_eb81_dedb_b4f286a3f721 cad44155_17aa_e1d6_081a_8f3b4f06bcde["resolve-config.ts"] cad44155_17aa_e1d6_081a_8f3b4f06bcde --> 45262882_ddec_eb81_dedb_b4f286a3f721 da5d1116_ab2a_437a_6b13_c1429fd546fa["plugin-api.ts"] da5d1116_ab2a_437a_6b13_c1429fd546fa --> 45262882_ddec_eb81_dedb_b4f286a3f721 8be42ab2_7e92_957a_da93_ffe4c7d161fe["css-parser.ts"] 8be42ab2_7e92_957a_da93_ffe4c7d161fe --> 45262882_ddec_eb81_dedb_b4f286a3f721 bdedd2f6_da4b_69dc_e990_0814b59fbe6e["design-system.ts"] bdedd2f6_da4b_69dc_e990_0814b59fbe6e --> 45262882_ddec_eb81_dedb_b4f286a3f721 2638fb39_6a36_5dfe_4705_961a0b5ff737["source-map.ts"] 2638fb39_6a36_5dfe_4705_961a0b5ff737 --> 45262882_ddec_eb81_dedb_b4f286a3f721 style 45262882_ddec_eb81_dedb_b4f286a3f721 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 PostCSSPlugin 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: PostCSSPlugin, 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