mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 21:33:02 -05:00
Due to upgrading to Angular 16, `REDUCERS` were in the incorrect file and should have been moved to `app.config.ts` from `main.ts`.
16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
import { appConfig } from './app/app.config';
|
|
|
|
import { bootstrapApplication } from '@angular/platform-browser';
|
|
import { enableProdMode } from '@angular/core';
|
|
|
|
import { AppComponent } from './app/app.component';
|
|
import { environment } from './environments/environment';
|
|
|
|
if (environment.production) {
|
|
enableProdMode();
|
|
}
|
|
|
|
bootstrapApplication(AppComponent, appConfig).catch((err) =>
|
|
console.error(err)
|
|
);
|