Home / Function/ setAssetSource() — vite Function Reference

setAssetSource() — vite Function Reference

Architecture documentation for the setAssetSource() function in pluginContainer.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  5a26a304_a297_15bc_8fd2_0e49e787d80f["setAssetSource()"]
  c261dae5_9c68_4b7d_8b09_fe13190425fe["PluginContext"]
  5a26a304_a297_15bc_8fd2_0e49e787d80f -->|defined in| c261dae5_9c68_4b7d_8b09_fe13190425fe
  834386cf_882b_9efd_7bce_97424a8df891["_warnIncompatibleMethod()"]
  5a26a304_a297_15bc_8fd2_0e49e787d80f -->|calls| 834386cf_882b_9efd_7bce_97424a8df891
  style 5a26a304_a297_15bc_8fd2_0e49e787d80f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/server/pluginContainer.ts lines 880–882

  setAssetSource(): void {
    this._warnIncompatibleMethod(`setAssetSource`)
  }

Domain

Subdomains

Frequently Asked Questions

What does setAssetSource() do?
setAssetSource() is a function in the vite codebase, defined in packages/vite/src/node/server/pluginContainer.ts.
Where is setAssetSource() defined?
setAssetSource() is defined in packages/vite/src/node/server/pluginContainer.ts at line 880.
What does setAssetSource() call?
setAssetSource() calls 1 function(s): _warnIncompatibleMethod.

Analyze Your Own Codebase

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

Try Supermodel Free