Skip to content

Commit 0acf43d

Browse files
MarcosBrendonDePaulaclaude
andcommitted
fix(client): remove hardcoded Vite HMR client script
The manual /@vite/client script tag was causing __DEFINES__ runtime errors in production builds. Vite automatically injects HMR client in development mode, so this hardcoded reference is unnecessary and breaks production bundles. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4ee541b commit 0acf43d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/client/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<title>Vite + React + TS</title>
88
</head>
99
<body>
10-
<script type="module" src="/@vite/client"></script>
1110
<div id="root"></div>
1211
<script type="module" src="/src/main.tsx"></script>
1312
</body>

0 commit comments

Comments
 (0)