From df2570459038699882aba4f44a36eb88b6397b2a Mon Sep 17 00:00:00 2001 From: Juan Miguel Rodriguez Ceron Date: Fri, 18 Apr 2025 02:03:15 +0200 Subject: [PATCH] fix: add empty vite config file to prevent resolving to parent (#273) Hi, when I tried to run the tests in the cloned repo I got an error from vitest trying to get the vite.config.ts from the parent folder. I don't know why this it not happening to more people but this fixed it, so maybe it is useful for someone else. --- codex-cli/vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 codex-cli/vite.config.ts diff --git a/codex-cli/vite.config.ts b/codex-cli/vite.config.ts new file mode 100644 index 00000000..669a10f2 --- /dev/null +++ b/codex-cli/vite.config.ts @@ -0,0 +1,4 @@ +import { defineConfig } from 'vite'; + +// Provide a stub Vite config in the CLI package to avoid resolving a parent-level vite.config.js +export default defineConfig({}); \ No newline at end of file