Update to Angular 22. Remove @angular-builders/custom-webpack - #368
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Theme Builder Angular application to Angular 22 and removes the dependency on @angular-builders/custom-webpack, aligning the build/serve pipeline with the newer @angular/build builders and adopting Angular’s modern template control-flow syntax.
Changes:
- Migrates Angular CLI builders from
@angular-builders/custom-webpackto@angular/buildand deletes the customwebpack.config.js. - Updates TypeScript/Angular compiler settings (notably
moduleResolution: "bundler",esModuleInterop: true, and app-levelstrictTemplates: false). - Refactors templates from
*ngIf/*ngFor/ngSwitchto@if/@for/@switchand applies an explicit change detection strategy across many components.
Reviewed changes
Copilot reviewed 97 out of 99 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| webpack.config.js | Removed custom webpack fallback configuration as part of dropping custom-webpack builder. |
| tsconfig.json | Updates TS compiler settings for Angular 22 toolchain (bundler resolution, interop, etc.). |
| src/tsconfig.app.json | Adds Angular compiler options (disables strict templates). |
| src/main.ts | Adds provideZoneChangeDetection() during bootstrap. |
| src/app/shared/badge/badge.component.ts | Adds explicit change detection strategy. |
| src/app/preview/wizard/wizard.component.ts | Adds explicit change detection strategy. |
| src/app/preview/treeview/treeview.component.ts | Adds explicit change detection strategy. |
| src/app/preview/treelist/treelist.component.ts | Adds explicit change detection strategy. |
| src/app/preview/toolbar/toolbar.component.ts | Adds explicit change detection strategy. |
| src/app/preview/tabs/tabs.component.ts | Adds explicit change detection strategy. |
| src/app/preview/stepper/stepper.component.ts | Adds explicit change detection strategy. |
| src/app/preview/stepper/stepper.component.html | Migrates *ngIf/*ngFor to @if/@for. |
| src/app/preview/splitter/splitter.component.ts | Adds explicit change detection strategy. |
| src/app/preview/sliders/sliders.component.ts | Adds explicit change detection strategy. |
| src/app/preview/scrollview/scrollview.component.ts | Adds explicit change detection strategy. |
| src/app/preview/scheduler/scheduler.component.ts | Adds explicit change detection strategy. |
| src/app/preview/progressbar/progressbar.component.ts | Adds explicit change detection strategy. |
| src/app/preview/preview/preview.component.ts | Adds explicit change detection strategy. |
| src/app/preview/preview-title/preview-title.component.ts | Adds explicit change detection strategy. |
| src/app/preview/preview-title/preview-title.component.html | Migrates *ngIf to @if. |
| src/app/preview/pivotgrid/pivotgrid.component.ts | Adds explicit change detection strategy. |
| src/app/preview/overlays/overlays.component.ts | Adds explicit change detection strategy. |
| src/app/preview/overlays/overlays.component.html | Migrates *ngIf blocks to @if/@else. |
| src/app/preview/menu/menu.component.ts | Adds explicit change detection strategy. |
| src/app/preview/list/list.component.ts | Adds explicit change detection strategy. |
| src/app/preview/index.component.ts | Adds explicit change detection strategy. |
| src/app/preview/index.component.html | Migrates container gating from *ngIf to @if. |
| src/app/preview/gallery/gallery.component.ts | Adds explicit change detection strategy. |
| src/app/preview/form/form.component.ts | Adds explicit change detection strategy. |
| src/app/preview/filterbuilder/filterbuilder.component.ts | Adds explicit change detection strategy. |
| src/app/preview/fieldset/fieldset.component.ts | Adds explicit change detection strategy. |
| src/app/preview/editors/editors.component.ts | Adds explicit change detection strategy. |
| src/app/preview/editors/editors.component.html | Migrates *ngIf blocks to @if/@else. |
| src/app/preview/drawer/drawer.component.ts | Adds explicit change detection strategy. |
| src/app/preview/datatgrid/datatgrid.component.ts | Adds explicit change detection strategy. |
| src/app/preview/chat/chat.component.ts | Adds explicit change detection strategy. |
| src/app/preview/chat/chat.component.html | Migrates *ngIf blocks to @if/@else. |
| src/app/preview/cardview/cardview.component.ts | Adds explicit change detection strategy. |
| src/app/preview/buttons/buttons.component.ts | Adds explicit change detection strategy. |
| src/app/preview/buttons/buttons.component.html | Migrates *ngIf/*ngFor to @if/@for. |
| src/app/preview/button-group/button-group.component.ts | Adds explicit change detection strategy. |
| src/app/preview/button-group/button-group.component.html | Migrates *ngIf/*ngFor to @if/@for. |
| src/app/preview/button-detailed/button-detailed.component.ts | Adds explicit change detection strategy. |
| src/app/preview/button-detailed/button-detailed.component.html | Migrates *ngIf/then/else templates to @if/@else. |
| src/app/preview/accordion/accordion.component.ts | Adds explicit change detection strategy. |
| src/app/notify-error/notify-error.component.ts | Adds explicit change detection strategy. |
| src/app/notify-error/notify-error.component.html | Migrates *ngIf to @if. |
| src/app/master/master.component.ts | Adds explicit change detection strategy. |
| src/app/master/master.component.html | Migrates *ngFor/*ngIf to @for/@if. |
| src/app/left-menu/search-opener/search-opener.component.ts | Adds explicit change detection strategy. |
| src/app/left-menu/search-opener/search-opener.component.html | Migrates *ngIf to @if. |
| src/app/left-menu/main/left-menu.component.ts | Adds explicit change detection strategy. |
| src/app/left-menu/main/left-menu.component.html | Migrates multiple *ngIf/*ngFor blocks to @if/@for. |
| src/app/left-menu/editor/editor.component.ts | Adds explicit change detection strategy. |
| src/app/left-menu/editor/editor.component.html | Migrates *ngIf blocks to @if. |
| src/app/left-menu/base-parameters/base-parameters.component.ts | Adds explicit change detection strategy. |
| src/app/left-menu/base-parameters/base-parameters.component.html | Migrates *ngFor to @for. |
| src/app/left-menu/back-navigator/back-navigator.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/preview-layout/preview-layout.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/loading/loading.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/loading/loading.component.html | Migrates *ngIf to @if. |
| src/app/layouts/header/popup/popup.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/header/import-popup/import-popup.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/header/help-button/help-button.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/header/header.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/header/header.component.html | Migrates *ngIf/ng-template usage to @if blocks. |
| src/app/layouts/header/header-button/header-button.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/header/header-button/header-button.component.html | Migrates *ngIf to @if for icon selection. |
| src/app/layouts/header/export-popup/help-tooltip/help-tooltip.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/header/export-popup/export-popup.component.ts | Updates JSZip import style and adds explicit change detection strategy. |
| src/app/layouts/header/export-popup/export-popup.component.html | Migrates *ngFor/*ngIf to @for/@if in export wizard UI. |
| src/app/layouts/footer/footer.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/button/button.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/bootstrap-uploader/bootstrap-uploader.component.ts | Adds explicit change detection strategy. |
| src/app/layouts/app-layout/app-layout.component.ts | Adds explicit change detection strategy. |
| src/app/index/index.component.ts | Adds explicit change detection strategy. |
| src/app/index/index.component.html | Migrates *ngIf/ngSwitch to @if/@switch/@case. |
| src/app/import/import-meta/import-meta.component.ts | Adds explicit change detection strategy. |
| src/app/import/import-bootstrap/import-bootstrap.component.ts | Adds explicit change detection strategy. |
| src/app/iframe/iframe.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-tm-info/icon-tm-info.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-themes/icon-themes.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-theme-circle/icon-theme-circle.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-metadata/icon-metadata.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-material/icon-material.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-logo/icon-logo.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-loading/icon-loading.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-generic/icon-generic.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-fluent/icon-fluent.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-export/icon-export.component.ts | Adds explicit change detection strategy. |
| src/app/icons/icon-bootstrap/icon-bootstrap.component.ts | Adds explicit change detection strategy. |
| src/app/icons/button-icon/button-icon.component.ts | Adds explicit change detection strategy. |
| src/app/icons/button-icon/button-icon.component.html | Migrates *ngIf to @if for icon selection. |
| src/app/app.component.ts | Adds explicit change detection strategy. |
| src/app/advanced/advanced.component.ts | Adds explicit change detection strategy. |
| pnpm-workspace.yaml | Pins Angular 22 packages in minimumReleaseAgeExclude. |
| package.json | Bumps Angular packages to 22.x, updates toolchain deps (TS 6.x, zone.js), removes custom-webpack deps. |
| angular.json | Switches builders to @angular/build:* and updates build options schema. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
dxvladislavvolkov
approved these changes
Jul 27, 2026
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.
No description provided.