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 c3edfeb commit fc0e05fCopy full SHA for fc0e05f
packages/angular/build/src/builders/application/options.ts
@@ -707,7 +707,14 @@ function normalizeExternals(value: string[] | undefined): string[] | undefined {
707
return undefined;
708
}
709
710
- return [...new Set(value.map((d) => (d.endsWith('/*') ? d.slice(0, -2) : d)))];
+ return [
711
+ ...new Set(
712
+ value.map((d) =>
713
+ // remove "/*" wildcard in the end if provided string is not path-like
714
+ d.endsWith('/*') && !/^\.{0,2}\//.test(d) ? d.slice(0, -2) : d,
715
+ ),
716
717
+ ];
718
719
720
async function findFrameworkVersion(projectRoot: string): Promise<string> {
0 commit comments