commit b8c2811d82500d2cd7c78c13a0c41a8e3aa1cc6b
parent 0bdab05ed797d9f7076e06e2f271669835bbecf3
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 10 Oct 2026 01:45:45 -0400
e2e: the editor config names the stamp script's dist dir it mirrors
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/editor/playwright.config.ts b/editor/playwright.config.ts
@@ -124,6 +124,7 @@ const E2E_MODE = (() => {
throw new Error(`E2E_MODE=${process.env.E2E_MODE} is not a mode: use start (the default) or dev`);
})();
const STAMPED_BUILD = E2E_MODE === "start" && !process.env.CI;
+// The same directory as scripts/e2e-stamp.mjs PACKAGES.editor.distDir.
const E2E_DIST_DIR = ".next/e2e";
if (STAMPED_BUILD && !process.env.E2E_BUILD_CHECKED) {
const ensured = spawnSync(