Repository navigation
chore(build): switch libraries to @angular/build:library - #353
Merged
Merged
Conversation
`ng update @angular/cli --name use-library-builder` for all three libraries: - build target `@angular/build:ng-packagr` -> `@angular/build:library`, ng-package.json options moved to angular.json, files removed - `exports` entry in each library package.json - `tslib` dropped from library dependencies; no bundle imports it - `ng-packagr` dropped from devDependencies The include widening in coreui-icons-angular tsconfig.lib.prod.json is not taken: with rootDir ./src it pulls schematics/ in and tsc fails with TS6059. All entry points are under src/. Built output: fesm2022 bundles and sourcemaps byte-identical; dist package.json gains `main`/`types` and loses `tslib`; .d.ts differs only in the generated header comment and one local type reference.
xidedix
added a commit
that referenced
this pull request
Nov 19, 2026
- fix(Dropdown): keep the menu shown when visible flips back before the effect runs (#351) - fix(ChipInput): run template validators once with `@angular/forms` 22.3; peer dependencies require Angular `^22.3.0` (#352) - chore(build): switch libraries to `@angular/build:library` (#353) - chore(dependencies): update to Angular 22.3.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All three libraries now build with
@angular/build:libraryinstead of ng-packagr (ng update @angular/cli --name use-library-builder). The fesm2022 bundles and sourcemaps come out byte-identical; the published package.json drops the unusedtslibdependency and gainsmainandtypes.The migration also widened
includein the icons tsconfig.lib.prod.json; that part is left out, because withrootDir: ./srcit pulls in schematics/ and tsc fails with TS6059.The ng-package.json
destmoves tooutputPathin angular.json.