-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular-devkit/build-angular): attempt relative global script re…
…ad first in esbuild builder When using a global script (`scripts` option) with the esbuild-based browser application builder, an attempt to read the script as a relative path from the workspace root will be performed first. This avoids the need to perform a potentially expensive module resolution attempt for files that are directly available and also ensures the relative paths are given priority over any potential modules with the same name. This matches prior behavior that also preferred relative paths. (cherry picked from commit 141d74d)
- Loading branch information
1 parent
e5c1d43
commit 7a3c895
Showing
1 changed file
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters