Skip to content

Commit a214f75

Browse files
Update index.html
- Updated index.html to load main.tsx from "/src/main.tsx" instead of "/quantumca/src/main.tsx". - Vite automatically rewrites this reference during build to point to the correct hashed bundle inside /quantumca/assets/. - This fixes the Rollup "failed to resolve import" error and allows `npm run build` to succeed. - Resolves blank screen issue on GitHub Pages deployment caused by missing bundle.
1 parent cc9aba4 commit a214f75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</head>
3939
<body>
4040
<div id="root"></div>
41-
<!-- ✅ Vite will rewrite this correctly in dist/ -->
41+
<!-- ✅ Vite will rewrite this to /quantumca/assets/... at build time -->
4242
<script type="module" src="/src/main.tsx"></script>
4343
</body>
4444
</html>

0 commit comments

Comments
 (0)