Skip to content

Commit 0033c28

Browse files
committed
fixup! fix(@angular/build): conditionally declare tslib in built library package
1 parent ab72056 commit 0033c28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/angular/build/src/builders/library/pipeline

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function processRolldownOutput(output: RolldownOutput['output'], dir: string): M
281281
}
282282

283283
for (const depFile of [...chunk.imports, ...chunk.dynamicImports]) {
284-
if (depFile === 'tslib' || depFile.startsWith('tslib/')) {
284+
if (depFile === 'tslib') {
285285
tslibBundles.add(entryChunk.name);
286286
}
287287

0 commit comments

Comments
 (0)