fix(compile): ensure Deno.build.standalone is set in workers (#30335)

Closes https://github.com/denoland/deno/issues/30318
This commit is contained in:
David Sherret 2025-08-06 16:12:57 +02:00 committed by GitHub
parent 038d5a5331
commit ff8bdcd987
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 4 deletions

View file

@ -1025,7 +1025,11 @@ function bootstrapWorkerRuntime(
6: argv0,
7: nodeDebug,
13: otelConfig,
15: standalone,
} = runtimeOptions;
denoNs.build.standalone = standalone;
closeOnIdle = runtimeOptions[14];
performance.setTimeOrigin();