Home / Function/ sharedNodeOptions.onwarn() — vite Function Reference

sharedNodeOptions.onwarn() — vite Function Reference

Architecture documentation for the sharedNodeOptions.onwarn() function in rolldown.config.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  ddc5c169_79c3_9285_3084_08c91f07ccc0["sharedNodeOptions.onwarn()"]
  095867e3_0044_bba5_61f7_c60c3c9e56ce["rolldown.config.ts"]
  ddc5c169_79c3_9285_3084_08c91f07ccc0 -->|defined in| 095867e3_0044_bba5_61f7_c60c3c9e56ce
  style ddc5c169_79c3_9285_3084_08c91f07ccc0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/rolldown.config.ts lines 64–69

  onwarn(warning, warn) {
    if (warning.message.includes('Circular dependency')) {
      return
    }
    warn(warning)
  },

Domain

Subdomains

Frequently Asked Questions

What does sharedNodeOptions.onwarn() do?
sharedNodeOptions.onwarn() is a function in the vite codebase, defined in packages/vite/rolldown.config.ts.
Where is sharedNodeOptions.onwarn() defined?
sharedNodeOptions.onwarn() is defined in packages/vite/rolldown.config.ts at line 64.

Analyze Your Own Codebase

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

Try Supermodel Free