refactor: set vite root to current working directory

This commit is contained in:
2025-06-04 11:09:21 +09:00
parent fff7de8184
commit 4705247246
+1 -1
View File
@@ -12,5 +12,5 @@ export default defineConfig({
input: "index.html", input: "index.html",
}, },
}, },
root: ".", // index.html を frontend ディレクトリ直下に置いている前提 root: process.cwd(), // 現在の作業ディレクトリ(frontend)をルートとして明示
}); });