index.js — vite Source File
Architecture documentation for index.js, a javascript file in the vite codebase. 1 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 83506ffe_7b91_fc02_f046_db3c8302c5ce["index.js"] fed3292d_6b60_b79c_8b2f_53b8dc3aff9c["re-export.js"] 83506ffe_7b91_fc02_f046_db3c8302c5ce --> fed3292d_6b60_b79c_8b2f_53b8dc3aff9c 2bff1ddd_39d7_0bc8_e313_78c6a7eae614["hmr.ts"] 2bff1ddd_39d7_0bc8_e313_78c6a7eae614 --> 83506ffe_7b91_fc02_f046_db3c8302c5ce style 83506ffe_7b91_fc02_f046_db3c8302c5ce fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { displayCount } from './re-export.js'
const button = document.querySelector('.intermediate-file-delete-increment')
const render = () => {
document.querySelector('.intermediate-file-delete-display').textContent =
displayCount(Number(button.textContent))
}
render()
button.addEventListener('click', () => {
button.textContent = `${Number(button.textContent) + 1}`
render()
})
if (import.meta.hot) import.meta.hot.accept()
Domain
Subdomains
Functions
Dependencies
Imported By
Source
Frequently Asked Questions
What does index.js do?
index.js is a source file in the vite codebase, written in javascript. It belongs to the ViteCore domain, DevServer subdomain.
What functions are defined in index.js?
index.js defines 1 function(s): render.
What does index.js depend on?
index.js imports 1 module(s): re-export.js.
What files import index.js?
index.js is imported by 1 file(s): hmr.ts.
Where is index.js in the architecture?
index.js is located at playground/hmr/intermediate-file-delete/index.js (domain: ViteCore, subdomain: DevServer, directory: playground/hmr/intermediate-file-delete).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free