hmrDep.js — vite Source File
Architecture documentation for hmrDep.js, a javascript file in the vite codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 011033a8_455d_fc47_8962_46531af6f43f["hmrDep.js"] be844d6e_9238_efe5_d28e_7822a013b9ab["hmr.ts"] be844d6e_9238_efe5_d28e_7822a013b9ab --> 011033a8_455d_fc47_8962_46531af6f43f style 011033a8_455d_fc47_8962_46531af6f43f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
export const foo = 1
export { foo as nestedFoo } from './hmrNestedDep'
if (import.meta.hot) {
const data = import.meta.hot.data
if ('fromDispose' in data) {
log(`(dep) foo from dispose: ${data.fromDispose}`)
}
import.meta.hot.dispose((data) => {
log(`(dep) foo was: ${foo}`)
data.fromDispose = foo
})
}
Domain
Imported By
Source
Frequently Asked Questions
What does hmrDep.js do?
hmrDep.js is a source file in the vite codebase, written in javascript. It belongs to the ViteCore domain.
What files import hmrDep.js?
hmrDep.js is imported by 1 file(s): hmr.ts.
Where is hmrDep.js in the architecture?
hmrDep.js is located at playground/hmr-ssr/hmrDep.js (domain: ViteCore, directory: playground/hmr-ssr).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free