Home / Function/ replacePinkWithBlue() — vite Function Reference

replacePinkWithBlue() — vite Function Reference

Architecture documentation for the replacePinkWithBlue() function in postcss.config.js from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  64a1607d_c2c6_f01b_26ce_1d81b37aac72["replacePinkWithBlue()"]
  ec3e6c7b_ae7f_530e_7e0c_8696cd55a8dd["postcss.config.js"]
  64a1607d_c2c6_f01b_26ce_1d81b37aac72 -->|defined in| ec3e6c7b_ae7f_530e_7e0c_8696cd55a8dd
  style 64a1607d_c2c6_f01b_26ce_1d81b37aac72 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

playground/css/postcss-caching/blue-app/postcss.config.js lines 5–14

function replacePinkWithBlue() {
  return {
    postcssPlugin: 'replace-pink-with-blue',
    Declaration(decl) {
      if (decl.value === 'pink') {
        decl.value = 'blue'
      }
    },
  }
}

Domain

Subdomains

Frequently Asked Questions

What does replacePinkWithBlue() do?
replacePinkWithBlue() is a function in the vite codebase, defined in playground/css/postcss-caching/blue-app/postcss.config.js.
Where is replacePinkWithBlue() defined?
replacePinkWithBlue() is defined in playground/css/postcss-caching/blue-app/postcss.config.js at line 5.

Analyze Your Own Codebase

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

Try Supermodel Free