Skip to content

fix(@angular-devkit/build-angular): several fixes to assets and files writes in browser-esbuild builder #26022

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

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

alan-agius4
Copy link
Collaborator

This commit ports #26016 to the esbuilder and also fixes an issue where assets were being outputted in the wrong directory.

Closes #26021

@alan-agius4 alan-agius4 requested a review from clydin October 12, 2023 10:37
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: rc This PR is targeted for the next release-candidate labels Oct 12, 2023
}
}

const MAX_CONCURRENT_WRITES = 64;
Copy link

@zip-fa zip-fa Oct 12, 2023

Choose a reason for hiding this comment

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

Maybe give option to increase this value with --max-concurrent-writes=100 for example?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Adding an option is not something that we plan to do. Instead we opted for a sensible default.

@alan-agius4 alan-agius4 removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 12, 2023
@alan-agius4 alan-agius4 removed the request for review from clydin October 12, 2023 11:31
@alan-agius4 alan-agius4 force-pushed the fixes-file-writes branch 2 times, most recently from ae67402 to 750a67b Compare October 12, 2023 11:34
@alan-agius4 alan-agius4 reopened this Oct 12, 2023
@alan-agius4 alan-agius4 requested a review from clydin October 12, 2023 11:49
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 12, 2023
… writes in browser-esbuild builder

This commit ports angular#26016 to the esbuilder and also fixes an issue where assets were being outputted in the wrong directory.

Closes angular#26021
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 12, 2023
@alan-agius4 alan-agius4 merged commit b2678bb into angular:main Oct 12, 2023
@alan-agius4 alan-agius4 deleted the fixes-file-writes branch October 12, 2023 13:57
@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 12, 2023
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 target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

browser-esbuild: An unhandled exception occurred: EPERM: operation not permitted, copyfile
3 participants