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}/` }