Skip to content

Commit 53cde52

Browse files
committed
fix: build
1 parent 0b2f913 commit 53cde52

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
</head>
99
<body>
1010
<div id="app"></div>
11-
<script type="module" src="/src/main.tsx"></script>
11+
<script type="module" src="/src/main.ts"></script>
1212
</body>
1313
</html>

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { writeFile, mkdir } from "fs/promises";
33
import path from "path";
44

55
// Hard-coded for now
6-
// - assume index is "/src/main.tsx"
6+
// - assume index is "/src/main.ts"
77
// - assume body has div#app
88
// - preamble code is better read from reactRefresh instead
99
const devIndexHtmlPlugin: () => Plugin = () => {

0 commit comments

Comments
 (0)