Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

The Angular locale data plugin is responsible for resolving imports. In some cases, other plugins would attempt to resolve these imports first, leading to a 'Failed to resolve import' error.

By ensuring that the Angular locale data plugin is prepended to the esbuild plugin list, we guarantee that it runs before other plugins, allowing it to correctly resolve the locale data imports.

Closes #31579

The Angular locale data plugin is responsible for resolving  imports. In some cases, other plugins would attempt to resolve these imports first, leading to a 'Failed to resolve import' error.

By ensuring that the Angular locale data plugin is prepended to the esbuild plugin list, we guarantee that it runs before other plugins, allowing it to correctly resolve the locale data imports.

Closes angular#31579
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Oct 29, 2025
@alan-agius4 alan-agius4 requested a review from clydin October 29, 2025 17:09
@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 29, 2025
@alan-agius4 alan-agius4 merged commit ccc5982 into angular:main Oct 29, 2025
35 checks passed
@alan-agius4 alan-agius4 deleted the fix/31579-locale-data-plugin-order branch October 29, 2025 17:27
@alan-agius4
Copy link
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

2 participants