removeBundleIfInvalidated() — vite Function Reference
Architecture documentation for the removeBundleIfInvalidated() function in worker.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 3a996af5_4903_3cfe_6bc5_bcf4f52114c9["removeBundleIfInvalidated()"] 0d0d0914_5b8b_6a47_5174_e7974dd8084e["WorkerOutputCache"] 3a996af5_4903_3cfe_6bc5_bcf4f52114c9 -->|defined in| 0d0d0914_5b8b_6a47_5174_e7974dd8084e 75aa4483_7f33_5bdd_19ac_866cac2679e4["bundleWorkerEntry()"] 75aa4483_7f33_5bdd_19ac_866cac2679e4 -->|calls| 3a996af5_4903_3cfe_6bc5_bcf4f52114c9 7a6e5acd_02c1_222f_f1f8_805ba7ef6b50["removeBundle()"] 3a996af5_4903_3cfe_6bc5_bcf4f52114c9 -->|calls| 7a6e5acd_02c1_222f_f1f8_805ba7ef6b50 style 3a996af5_4903_3cfe_6bc5_bcf4f52114c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/plugins/worker.ts lines 106–111
removeBundleIfInvalidated(file: string) {
if (this.invalidatedBundles.has(file)) {
this.invalidatedBundles.delete(file)
this.removeBundle(file)
}
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does removeBundleIfInvalidated() do?
removeBundleIfInvalidated() is a function in the vite codebase, defined in packages/vite/src/node/plugins/worker.ts.
Where is removeBundleIfInvalidated() defined?
removeBundleIfInvalidated() is defined in packages/vite/src/node/plugins/worker.ts at line 106.
What does removeBundleIfInvalidated() call?
removeBundleIfInvalidated() calls 1 function(s): removeBundle.
What calls removeBundleIfInvalidated()?
removeBundleIfInvalidated() 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