Skip to content

Commit

Permalink
Dist build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-wjp committed Feb 9, 2025
1 parent 8bc0181 commit 74c1ed6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<script type="module" src="./src/main.jsx"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineConfig({
},
build: {
rollupOptions: {
input: "./src/main.jsx",
input: "./index.html", // Use index.html as the entry point
},
outDir: "dist",
emptyOutDir: true,
Expand Down

0 comments on commit 74c1ed6

Please sign in to comment.