Commit 28c2756
perf(@angular-devkit/build-angular): asynchronously delete output path in esbuild builder
When using the esbuild-based browser application builder, the output path is deleted
prior to performing a build to ensure a clean output with only the built files. The
deletion will now be performed asynchronously using the Node.js promised-based API.
This should provide a small performance improvement for projects with large output
directories.
(cherry picked from commit df49c35)1 parent b2ece91 commit 28c2756
File tree
1 file changed
+7
-2
lines changed- packages/angular_devkit/build_angular/src/builders/browser-esbuild
1 file changed
+7
-2
lines changedLines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
623 | 622 | | |
624 | 623 | | |
625 | 624 | | |
626 | | - | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
627 | 632 | | |
628 | 633 | | |
629 | 634 | | |
| |||
0 commit comments