Home / Function/ isPreProcessor() — vite Function Reference

isPreProcessor() — vite Function Reference

Architecture documentation for the isPreProcessor() function in css.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  3eaf8b50_562d_6dc6_0d63_a33906ef9339["isPreProcessor()"]
  c3eb47df_971b_0616_6c9f_29b3ded72224["css.ts"]
  3eaf8b50_562d_6dc6_0d63_a33906ef9339 -->|defined in| c3eb47df_971b_0616_6c9f_29b3ded72224
  c641d137_b4cd_833f_0387_7d29ec90fde1["compileCSS()"]
  c641d137_b4cd_833f_0387_7d29ec90fde1 -->|calls| 3eaf8b50_562d_6dc6_0d63_a33906ef9339
  6aa50cd4_4412_2a02_b76b_495614715811["compilePostCSS()"]
  6aa50cd4_4412_2a02_b76b_495614715811 -->|calls| 3eaf8b50_562d_6dc6_0d63_a33906ef9339
  cc40a51d_2143_be43_f128_4841bfa5e9d3["compileLightningCSS()"]
  cc40a51d_2143_be43_f128_4841bfa5e9d3 -->|calls| 3eaf8b50_562d_6dc6_0d63_a33906ef9339
  style 3eaf8b50_562d_6dc6_0d63_a33906ef9339 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/plugins/css.ts lines 3177–3179

function isPreProcessor(lang: any): lang is PreprocessLang {
  return lang && preprocessorSet.has(lang)
}

Domain

Subdomains

Frequently Asked Questions

What does isPreProcessor() do?
isPreProcessor() is a function in the vite codebase, defined in packages/vite/src/node/plugins/css.ts.
Where is isPreProcessor() defined?
isPreProcessor() is defined in packages/vite/src/node/plugins/css.ts at line 3177.
What calls isPreProcessor()?
isPreProcessor() is called by 3 function(s): compileCSS, compileLightningCSS, compilePostCSS.

Analyze Your Own Codebase

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

Try Supermodel Free