Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ext/node): Support env option in worker_thread #23462

Merged
merged 1 commit into from
Apr 20, 2024

Conversation

littledivy
Copy link
Member

Fixes #23455

Copy link
Member

@satyarohith satyarohith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

It would be nice to add support for https://nodejs.org/api/worker_threads.html#workershare_env in a follow up.

@littledivy littledivy merged commit e0554ac into denoland:main Apr 20, 2024
17 checks passed
@littledivy littledivy deleted the worker_env_thread branch April 20, 2024 03:48
Comment on lines +354 to +356
if (env) {
process.env = env;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is bit strange - does it mean that setting a new property won't have an effect on the whole process? Can we add a test that checks this behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vite-plugin-sveltekit-compile not resolving
3 participants