87968: Upgrade to Angular 12

This commit is contained in:
Yura Bondarenko
2022-02-24 18:45:31 +01:00
parent 45887154b6
commit 22c5976095
14 changed files with 2869 additions and 5046 deletions

View File

@@ -1,4 +1,4 @@
import 'zone.js/dist/zone';
import 'zone.js';
import 'reflect-metadata';
import 'core-js/es/reflect';
@@ -35,11 +35,9 @@ const main = () => {
if (hasValue(environment.universal) && environment.universal.preboot) {
return bootstrap();
} else {
return fetch('assets/config.json')
.then((response) => response.json())
.then((appConfig: AppConfig) => {
// extend environment with app config for browser when not prerendered
extendEnvironmentWithAppConfig(environment, appConfig);