From: Kai Moritz Date: Sat, 11 Oct 2025 12:06:17 +0000 (+0200) Subject: refactor: Removed barrel-file for app X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=18e3d146e8d055122b13042ad740f4ec74836b7f;p=demos%2Fkafka%2Fchat refactor: Removed barrel-file for app --- diff --git a/src/app/chatroom/chatroom.service.pact.spec.ts b/src/app/chatroom/chatroom.service.pact.spec.ts index 57c3bf72..38838f18 100644 --- a/src/app/chatroom/chatroom.service.pact.spec.ts +++ b/src/app/chatroom/chatroom.service.pact.spec.ts @@ -4,7 +4,7 @@ import { provideHttpClient } from '@angular/common/http'; import { lastValueFrom } from 'rxjs'; import { ChatroomService } from './chatroom.service'; import { Chatroom } from './chatroom.model'; -import { APP_PROPS } from '..'; +import { APP_PROPS } from '../app.tokens'; describe('Pact between the ChatroomService and the backend', () => { diff --git a/src/app/index.ts b/src/app/index.ts deleted file mode 100644 index 3539455b..00000000 --- a/src/app/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './app.config' -export * from './app.component' -export * from './app.tokens' diff --git a/src/main.ts b/src/main.ts index 30fb56e6..14a76203 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,5 +1,6 @@ import { bootstrapApplication } from '@angular/platform-browser'; -import { AppComponent, appConfig } from './app'; +import { AppComponent } from './app/app.component'; +import { appConfig } from './app/app.config'; bootstrapApplication(AppComponent, appConfig) .catch((err) => console.error(err));