Skip to content

Conversation

alan-agius4
Copy link
Collaborator

In Node.js 20, changes to ESM loader hooks result in the --import execArgv being passed from the parent to child workers.

This commit resolves the issue by setting an empty execArgv in the JavaScript transformer, preventing unintended propagation.

Closes #28683

(cherry picked from commit cc345b0)

… prerendering or SSR

In Node.js 20, changes to ESM loader hooks result in the `--import` execArgv being passed from the parent to child workers.

This commit resolves the issue by setting an empty `execArgv` in the JavaScript transformer, preventing unintended propagation.

Closes angular#28683

(cherry picked from commit cc345b0)
@alan-agius4 alan-agius4 requested a review from clydin October 23, 2024 09:22
@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Oct 23, 2024
@alan-agius4 alan-agius4 merged commit b1e5f51 into angular:18.2.x Oct 23, 2024
33 checks passed
@alan-agius4 alan-agius4 deleted the cherr-pick-28689 branch October 23, 2024 09:41
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants