Home / Function/ extractStylesheets() — astro Function Reference

extractStylesheets() — astro Function Reference

Architecture documentation for the extractStylesheets() function in parseCSS.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  3f4ba835_72b1_e591_9167_953ff42dd147["extractStylesheets()"]
  f6152f93_2879_07e4_0f31_4adb7af86607["parseCSS.ts"]
  3f4ba835_72b1_e591_9167_953ff42dd147 -->|defined in| f6152f93_2879_07e4_0f31_4adb7af86607
  880400e4_c475_86ca_fb23_99d27fdd5bc8["mergeCSSContextsByLanguage()"]
  3f4ba835_72b1_e591_9167_953ff42dd147 -->|calls| 880400e4_c475_86ca_fb23_99d27fdd5bc8
  style 3f4ba835_72b1_e591_9167_953ff42dd147 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/language-tools/language-server/src/core/parseCSS.ts lines 14–16

export function extractStylesheets(styles: TSXExtractedStyle[]): VirtualCode[] {
	return mergeCSSContextsByLanguage(styles);
}

Domain

Subdomains

Frequently Asked Questions

What does extractStylesheets() do?
extractStylesheets() is a function in the astro codebase, defined in packages/language-tools/language-server/src/core/parseCSS.ts.
Where is extractStylesheets() defined?
extractStylesheets() is defined in packages/language-tools/language-server/src/core/parseCSS.ts at line 14.
What does extractStylesheets() call?
extractStylesheets() calls 1 function(s): mergeCSSContextsByLanguage.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free