Commit d009aa1
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.
(cherry picked from commit 4643a8a)1 parent f1ee15d commit d009aa1
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 | | |
| |||
751 | 752 | | |
752 | 753 | | |
753 | 754 | | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
0 commit comments