From df7e86eb51ebd40d08143982c964aaf5358fdd36 Mon Sep 17 00:00:00 2001 From: Jon Andre Briones Date: Wed, 27 Aug 2025 19:57:57 -0700 Subject: [PATCH] chore: remove zone package fully from main site --- angular.json | 2 -- src/app/app.config.ts | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/angular.json b/angular.json index f8a2a3d5..de42ac0d 100644 --- a/angular.json +++ b/angular.json @@ -21,7 +21,6 @@ "outputPath": "dist/csss-ng-frontend", "index": "src/index.html", "browser": "src/main.ts", - "polyfills": ["zone.js"], "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ @@ -82,7 +81,6 @@ "test": { "builder": "@angular/build:karma", "options": { - "polyfills": ["zone.js", "zone.js/testing"], "tsConfig": "tsconfig.spec.json", "inlineStyleLanguage": "scss", "assets": [ diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 6c6ef603..00073fca 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -1,8 +1,8 @@ -import { ApplicationConfig } from '@angular/core'; +import { ApplicationConfig, provideZonelessChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { - providers: [provideRouter(routes)] + providers: [provideZonelessChangeDetection(), provideRouter(routes)] };