Vite looks for index.html in the folder you give it. You passed . (current folder), so it finds your index.html there. That HTML file likely has a <script> tag ...