Commit 78649ae
committed
fix(@angular/build): only use external packages for polyfills when no local files are present
The polyfills bundle now conditionally employs external package resolution
only if no local files are detected in the polyfills array. If local files
are present, all polyfills are bundled together to ensure the import
execution order is correctly preserved between local and package-based
entries.1 parent cb57740 commit 78649ae
File tree
1 file changed
+21
-5
lines changed- packages/angular/build/src/tools/esbuild
1 file changed
+21
-5
lines changedLines changed: 21 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
658 | 660 | | |
659 | 661 | | |
660 | 662 | | |
661 | | - | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
662 | 666 | | |
663 | | - | |
664 | 667 | | |
665 | 668 | | |
666 | 669 | | |
667 | | - | |
668 | | - | |
669 | 670 | | |
670 | 671 | | |
671 | 672 | | |
| |||
749 | 750 | | |
750 | 751 | | |
751 | 752 | | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
0 commit comments