We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1e8c6 commit 74cd4edCopy full SHA for 74cd4ed
packages/angular/build/src/builders/application/options.ts
@@ -703,5 +703,12 @@ function normalizeExternals(value: string[] | undefined): string[] | undefined {
703
return undefined;
704
}
705
706
- return [...new Set(value.map((d) => (d.endsWith('/*') ? d.slice(0, -2) : d)))];
+ return [
707
+ ...new Set(
708
+ value.map((d) =>
709
+ // remove "/*" wildcard in the end if provided string is not path-like
710
+ d.endsWith('/*') && !/^\.{0,2}\//.test(d) ? d.slice(0, -2) : d,
711
+ ),
712
713
+ ];
714
0 commit comments