index.html — vite Source File
Architecture documentation for index.html, a html file in the vite codebase.
Entity Profile
Source Code
<script type="module" src="./index.js"></script>
<style>
.test-el {
background-repeat: no-repeat;
padding-left: 2rem;
margin-bottom: 1rem;
}
</style>
<h3>test elements below should show circles and their url</h3>
<div class="test-el plus-circle"></div>
<div class="test-el underscore-circle"></div>
<h3>Denied .env</h3>
<div class="unsafe-dotenv"></div>
<div class="unsafe-dotenv-double-slash"></div>
<script type="module">
// .env, denied by default. See fs-serve playground for other fs tests
// these checks ensure that a project without a custom root respects fs.deny
fetch('/.env')
.then((r) => {
text('.unsafe-dotenv', r.status)
})
.catch((e) => {
console.error(e)
})
fetch(window.location + '/.env')
.then((r) => {
text('.unsafe-dotenv-double-slash', r.status)
})
.catch((e) => {
console.error(e)
})
function text(el, text) {
document.querySelector(el).textContent = text
}
</script>
Source
Frequently Asked Questions
What does index.html do?
index.html is a source file in the vite codebase, written in html.
Where is index.html in the architecture?
index.html is located at playground/assets-sanitize/index.html (directory: playground/assets-sanitize).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free