From 8a247ecaefda4e3863f19aab81c18b7ba08894d6 Mon Sep 17 00:00:00 2001 From: gene9831 Date: Mon, 11 May 2026 20:37:40 +0800 Subject: [PATCH] fix: include existing environment variables in build-playground script --- scripts/build-playground.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build-playground.js b/scripts/build-playground.js index c723d98..d3eb58b 100644 --- a/scripts/build-playground.js +++ b/scripts/build-playground.js @@ -7,6 +7,7 @@ const child = spawn('pnpm', ['-F', 'robot-root', 'build:playground'], { stdio: 'inherit', shell: true, env: { + ...process.env, PLAYGROUND_BASE: playgroundBase, VITE_PLAYGROUND_SHARE_PATH: process.env.VITE_PLAYGROUND_SHARE_PATH || `${playgroundBase}/` }