Skip to content

Commit 6e1b951

Browse files
committed
fixup! fix(@angular/build): filter Rolldown warnings and disable .d.ts annotation comments in library builder
1 parent 0690f06 commit 6e1b951

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/angular/build/src/builders/library/tests/behavior

‎packages/angular/build/src/builders/library/tests/behavior/build_spec.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ describeLibraryBuilder(executeLibraryBuilder, LIBRARY_BUILDER_INFO, (harness) =>
112112

113113
const dtsContent = harness.readFile('dist/lib/types/lib.d.ts');
114114
expect(dtsContent).toContain('Public API JSDoc comment');
115+
expect(dtsContent).not.toContain('@__PURE__');
115116
});
116117

117118
it('should automatically add tslib to dependencies when output chunks import tslib', async () => {

0 commit comments

Comments
 (0)