From 18e3d146e8d055122b13042ad740f4ec74836b7f Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 11 Oct 2025 14:06:17 +0200 Subject: [PATCH] refactor: Removed barrel-file for app --- src/app/chatroom/chatroom.service.pact.spec.ts | 2 +- src/app/index.ts | 3 --- src/main.ts | 3 ++- 3 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 src/app/index.ts 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)); -- 2.39.5