diff --git a/angular.json b/angular.json index b678d38..f9b24d2 100644 --- a/angular.json +++ b/angular.json @@ -18,9 +18,7 @@ "builder": "@angular/build:application", "options": { "browser": "src/main.ts", - "polyfills": [ - "zone.js" - ], + "polyfills": [], "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ diff --git a/src/app/app.config.ts b/src/app/app.config.ts index ebfca59..1442a62 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -1,4 +1,4 @@ -import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZoneChangeDetection } from '@angular/core'; +import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZonelessChangeDetection } from '@angular/core'; import { provideRouter, withViewTransitions } from '@angular/router'; import { provideHttpClient, withXhr } from '@angular/common/http'; import { provideTranslateService } from "@ngx-translate/core"; @@ -9,7 +9,7 @@ import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { providers: [ provideBrowserGlobalErrorListeners(), - provideZoneChangeDetection({ eventCoalescing: true }), + provideZonelessChangeDetection(), provideRouter(routes, withViewTransitions()), provideHttpClient(withXhr()), provideTranslateService({