Home / Function/ getConfig() — vite Function Reference

getConfig() — vite Function Reference

Architecture documentation for the getConfig() function in css-dynamic-import.spec.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  c3171398_e4f5_405b_10b1_82029ca7a566["getConfig()"]
  dd71c169_a6c5_edad_b5a0_65b1cfb5183c["css-dynamic-import.spec.ts"]
  c3171398_e4f5_405b_10b1_82029ca7a566 -->|defined in| dd71c169_a6c5_edad_b5a0_65b1cfb5183c
  cc69cf35_423f_d4ec_d7ee_891ab5f0a3cf["withBuild()"]
  cc69cf35_423f_d4ec_d7ee_891ab5f0a3cf -->|calls| c3171398_e4f5_405b_10b1_82029ca7a566
  3969ccdd_98c9_225f_5f0f_ae53dbc6a63e["withServe()"]
  3969ccdd_98c9_225f_5f0f_ae53dbc6a63e -->|calls| c3171398_e4f5_405b_10b1_82029ca7a566
  style c3171398_e4f5_405b_10b1_82029ca7a566 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

playground/css-dynamic-import/__tests__/css-dynamic-import.spec.ts lines 11–18

const getConfig = (base: string): InlineConfig => ({
  base,
  root: rootDir,
  logLevel: 'silent',
  server: { port: ports['css/dynamic-import'] },
  preview: { port: ports['css/dynamic-import'] },
  build: { assetsInlineLimit: 0 },
})

Domain

Subdomains

Frequently Asked Questions

What does getConfig() do?
getConfig() is a function in the vite codebase, defined in playground/css-dynamic-import/__tests__/css-dynamic-import.spec.ts.
Where is getConfig() defined?
getConfig() is defined in playground/css-dynamic-import/__tests__/css-dynamic-import.spec.ts at line 11.
What calls getConfig()?
getConfig() is called by 2 function(s): withBuild, withServe.

Analyze Your Own Codebase

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

Try Supermodel Free