Commit 9975c72
committed
fix(@angular/build): ensure locale data plugin runs before other plugins
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
(cherry picked from commit ccc5982)1 parent f7f02f2 commit 9975c72
File tree
1 file changed
+1
-1
lines changed- packages/angular/build/src/tools/esbuild
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
| |||
0 commit comments