Home / Function/ getWorkerBundle() — vite Function Reference

getWorkerBundle() — vite Function Reference

Architecture documentation for the getWorkerBundle() function in worker.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  4676ace1_9b6a_404e_362a_fd5188f91be6["getWorkerBundle()"]
  0d0d0914_5b8b_6a47_5174_e7974dd8084e["WorkerOutputCache"]
  4676ace1_9b6a_404e_362a_fd5188f91be6 -->|defined in| 0d0d0914_5b8b_6a47_5174_e7974dd8084e
  75aa4483_7f33_5bdd_19ac_866cac2679e4["bundleWorkerEntry()"]
  75aa4483_7f33_5bdd_19ac_866cac2679e4 -->|calls| 4676ace1_9b6a_404e_362a_fd5188f91be6
  51afdf58_3045_64b1_cf5b_929b1091e877["get()"]
  4676ace1_9b6a_404e_362a_fd5188f91be6 -->|calls| 51afdf58_3045_64b1_cf5b_929b1091e877
  style 4676ace1_9b6a_404e_362a_fd5188f91be6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/plugins/worker.ts lines 131–133

  getWorkerBundle(file: string) {
    return this.bundles.get(file)
  }

Domain

Subdomains

Calls

Frequently Asked Questions

What does getWorkerBundle() do?
getWorkerBundle() is a function in the vite codebase, defined in packages/vite/src/node/plugins/worker.ts.
Where is getWorkerBundle() defined?
getWorkerBundle() is defined in packages/vite/src/node/plugins/worker.ts at line 131.
What does getWorkerBundle() call?
getWorkerBundle() calls 1 function(s): get.
What calls getWorkerBundle()?
getWorkerBundle() is called by 1 function(s): bundleWorkerEntry.

Analyze Your Own Codebase

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

Try Supermodel Free