Skip to content

Commit 74cd45a

Browse files
committed
fixup! feat(@angular/build): add library builder
1 parent 443955d commit 74cd45a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/angular/build/src/builders/library/pipeline/bundler.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function createMemoryFileLoaderPlugin(
214214
return { id: resolvedCandidate, external: false };
215215
}
216216

217-
return { id, external: true };
217+
return undefined;
218218
},
219219
},
220220
load(id) {

‎packages/angular/build/src/builders/library/tests/setup.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.dev/license
77
*/
88

9-
import { BuilderHandlerFn } from '@angular-devkit/architect';
9+
import type { BuilderHandlerFn } from '@angular-devkit/architect';
1010
import { TestProjectHost } from '@angular-devkit/architect/testing';
1111
import { json, normalize, join } from '@angular-devkit/core';
1212
import { readFileSync } from 'node:fs';

0 commit comments

Comments
 (0)