fix: run turbopack in forked process (#55545)

Closes WEB-1598
This commit is contained in:
Leah 2023-09-18 21:04:21 +02:00 committed by GitHub
parent 7db5c64e94
commit 0ddb15be49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,6 +253,7 @@ const nextDev: CliCommand = async (args) => {
stdio: 'inherit',
env: {
...((initialEnv || process.env) as typeof process.env),
TURBOPACK: process.env.TURBOPACK,
NEXT_PRIVATE_WORKER: '1',
},
})