feat: fix frontend build error by updating index.html and vite.config.ts

This commit is contained in:
2025-06-04 11:14:13 +09:00
parent 892e959dce
commit 5644b79336
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,6 @@
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script type="module" src="/main.js" defer></script> <script type="module" src="./src/main.tsx" defer></script>
</body> </body>
</html> </html>

View File

@ -12,5 +12,9 @@ export default defineConfig({
rollupOptions: { rollupOptions: {
input: "index.html", input: "index.html",
}, },
// モジュール解決を明示
commonjsOptions: {
include: [],
},
}, },
}); });