diff --git a/packages/igx-templates/igx-ts-legacy/projects/_base/files/angular.json b/packages/igx-templates/igx-ts-legacy/projects/_base/files/angular.json index ac1ed7e40..0ec4d1de6 100644 --- a/packages/igx-templates/igx-ts-legacy/projects/_base/files/angular.json +++ b/packages/igx-templates/igx-ts-legacy/projects/_base/files/angular.json @@ -24,8 +24,8 @@ "options": { "outputPath": "dist/<%=dashName%>", "index": "src/index.html", - "main": "src/main.ts", - "polyfills": "src/polyfills.ts", + "browser": "src/main.ts", + "polyfills": ["src/polyfills.ts"], "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ @@ -65,9 +65,7 @@ "outputHashing": "all" }, "development": { - "buildOptimizer": false, "optimization": false, - "vendorChunk": true, "extractLicenses": false, "sourceMap": true, "namedChunks": true diff --git a/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/app.component.ts b/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/app.component.ts index 834e5aebe..f67ca6bdc 100644 --- a/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/app.component.ts +++ b/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/app.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', - styleUrls: ['./app.component.scss'] + styleUrls: ['./app.component.scss'], + standalone: false }) export class AppComponent { title = 'Home - IgniteUI for Angular'; diff --git a/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/error/uncaught-error.component.ts b/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/error/uncaught-error.component.ts index 0fbb6ba26..e87e069ed 100644 --- a/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/error/uncaught-error.component.ts +++ b/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/error/uncaught-error.component.ts @@ -2,5 +2,6 @@ import { Component } from '@angular/core'; @Component({ template: '

Error 500: Internal Server Error

', + standalone: false }) export class UncaughtErrorComponent { } diff --git a/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/not-found/not-found.component.ts b/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/not-found/not-found.component.ts index 4f027a808..6eb2c6120 100644 --- a/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/not-found/not-found.component.ts +++ b/packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/not-found/not-found.component.ts @@ -1,6 +1,7 @@ import { Component } from '@angular/core'; @Component({ - template: '

Error 404: Page not found

' + template: '

Error 404: Page not found

', + standalone: false }) export class PageNotFoundComponent { }