We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2cfa74 commit 56aad43Copy full SHA for 56aad43
e2e/react-start/basic-spa/playwright.config.ts
@@ -26,10 +26,16 @@ export default defineConfig({
26
},
27
28
webServer: {
29
- command: `NODE_ENV=development VITE_EXTERNAL_PORT=${EXTERNAL_PORT} VITE_SERVER_PORT=${PORT} PORT=${PORT} pnpm run dev:e2e --port=${PORT}`,
+ command: `pnpm run dev:e2e --port=${PORT}`,
30
url: baseURL,
31
reuseExistingServer: !process.env.CI,
32
stdout: 'pipe',
33
+ env: {
34
+ NODE_ENV: 'development',
35
+ VITE_EXTERNAL_PORT: String(EXTERNAL_PORT),
36
+ VITE_SERVER_PORT: String(PORT),
37
+ PORT: String(PORT),
38
+ },
39
40
41
projects: [
0 commit comments