Skip to content

Commit a634450

Browse files
authored
Merge pull request #1352 from IgniteUI/nalipiev/fix-ngModules
fix: adapt ngModules templates to 19 changes
2 parents 0e236e7 + 2ce6e9d commit a634450

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

packages/igx-templates/igx-ts-legacy/projects/_base/files/angular.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"options": {
2525
"outputPath": "dist/<%=dashName%>",
2626
"index": "src/index.html",
27-
"main": "src/main.ts",
28-
"polyfills": "src/polyfills.ts",
27+
"browser": "src/main.ts",
28+
"polyfills": ["src/polyfills.ts"],
2929
"tsConfig": "tsconfig.app.json",
3030
"inlineStyleLanguage": "scss",
3131
"assets": [
@@ -65,9 +65,7 @@
6565
"outputHashing": "all"
6666
},
6767
"development": {
68-
"buildOptimizer": false,
6968
"optimization": false,
70-
"vendorChunk": true,
7169
"extractLicenses": false,
7270
"sourceMap": true,
7371
"namedChunks": true

packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/app.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { Component } from '@angular/core';
33
@Component({
44
selector: 'app-root',
55
templateUrl: './app.component.html',
6-
styleUrls: ['./app.component.scss']
6+
styleUrls: ['./app.component.scss'],
7+
standalone: false
78
})
89
export class AppComponent {
910
title = 'Home - IgniteUI for Angular';

packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/error/uncaught-error.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ import { Component } from '@angular/core';
22

33
@Component({
44
template: '<h2>Error 500: Internal Server Error</h2>',
5+
standalone: false
56
})
67
export class UncaughtErrorComponent { }
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4-
template: '<h2>Error 404: Page not found</h2>'
4+
template: '<h2>Error 404: Page not found</h2>',
5+
standalone: false
56
})
67
export class PageNotFoundComponent { }

0 commit comments

Comments
 (0)