feat: fix frontend build error by updating index.html and vite.config.ts
This commit is contained in:
		@@ -8,6 +8,6 @@
 | 
			
		||||
  </head>
 | 
			
		||||
  <body>
 | 
			
		||||
    <div id="root"></div>
 | 
			
		||||
    <script type="module" src="/main.js" defer></script>
 | 
			
		||||
    <script type="module" src="./src/main.tsx" defer></script>
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
@@ -12,5 +12,9 @@ export default defineConfig({
 | 
			
		||||
    rollupOptions: {
 | 
			
		||||
      input: "index.html",
 | 
			
		||||
    },
 | 
			
		||||
    // モジュール解決を明示
 | 
			
		||||
    commonjsOptions: {
 | 
			
		||||
      include: [],
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user