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 319b8e0 commit 7a4fde9Copy full SHA for 7a4fde9
packages/angular/build/src/builders/application/options.ts
@@ -707,7 +707,15 @@ 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 [...new Set(value.map((d) => {
711
+ if (d.endsWith('/*')) {
712
+ const isPackageName = !d.startsWith('/') && !d.startsWith('./') && !d.startsWith('../');
713
+ if (isPackageName) {
714
+ return d.slice(0, -2);
715
+ }
716
717
+ return d;
718
+}))];
719
720
721
async function findFrameworkVersion(projectRoot: string): Promise<string> {
0 commit comments