Repository navigation
Conversation
There was a problem hiding this comment.
To me this reads as “the loader won’t apply to worker threads,” but what I assume you mean is “you don’t need to pass this argument when spawning a worker thread, as it will inherit from the main thread.” I’m not sure we need this addition at all; the other addition in module.md might be enough.
There was a problem hiding this comment.
indeed that was intended. What do you think about: "This option
has no effect on worker threads. Worker threads inherit the customization hooks chain configured on main thread."
I can also remove this addition. The idea for adding it here as well was to have all relevant entry points in the documentation covered. To make it clear so that the user expectation is correct.
There was a problem hiding this comment.
triggered by comment on #47747.
This PR adds clarification on single customization chain thread that were introduced with #52706
@nodejs/loaders