From 9b1cde68fa5c3d6316527dc4e6bd0a6d8e8eeac0 Mon Sep 17 00:00:00 2001 From: saltbo Date: Sun, 12 Apr 2026 12:25:38 -0400 Subject: [PATCH] fix(e2e): use --mode node for Vite in Playwright to skip cloudflare plugin E2E tests use the Node backend (tsx watch server/entry-node.ts). Without --mode node, Vite loads the cloudflare() plugin which starts a Workers runtime that fails on missing env bindings. Co-Authored-By: Claude Opus 4.6 (1M context) --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index b4bb1a06..c4951f16 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -20,7 +20,7 @@ export default defineConfig({ reuseExistingServer: !process.env.CI, }, { - command: 'vite', + command: 'vite --mode node', port: 5173, reuseExistingServer: !process.env.CI, },