Make whole frontend dynamically configurable to avoid rebuilds
This commit is contained in:
+14
-6
@@ -8,7 +8,6 @@ import { AppComponent } from './app.component';
|
||||
import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { HeaderComponent } from './header/header.component';
|
||||
import { SidebarComponent } from './sidebar/sidebar.component';
|
||||
import { WebComponent } from './web/web.component';
|
||||
import { MarkdownService } from './services/markdown.service';
|
||||
import { TerminadoService } from './services/terminado.service';
|
||||
import { IdeComponent } from './ide/ide.component';
|
||||
@@ -21,7 +20,13 @@ import { DeploymentNotificationService } from './services/deployment-notificatio
|
||||
import { SafePipe } from './pipes/safe.pipe';
|
||||
import { ConsoleComponent } from './console/console.component';
|
||||
import { MonacoEditorModule } from 'ngx-monaco-editor';
|
||||
import { IdeConfigService } from './services/config.service';
|
||||
import {
|
||||
ConfigReadyService,
|
||||
IdeConfigService,
|
||||
DashboardConfigService,
|
||||
SiteConfigService
|
||||
} from './services/config.service';
|
||||
import { LoaderComponent } from './loader/loader.component';
|
||||
|
||||
|
||||
@NgModule({
|
||||
@@ -29,14 +34,14 @@ import { IdeConfigService } from './services/config.service';
|
||||
AppComponent,
|
||||
HeaderComponent,
|
||||
SidebarComponent,
|
||||
WebComponent,
|
||||
IdeComponent,
|
||||
MessagesComponent,
|
||||
TerminalComponent,
|
||||
DashboardComponent,
|
||||
TestmessengerComponent,
|
||||
SafePipe,
|
||||
ConsoleComponent
|
||||
ConsoleComponent,
|
||||
LoaderComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
@@ -51,10 +56,13 @@ import { IdeConfigService } from './services/config.service';
|
||||
WebSocketService,
|
||||
TerminadoService,
|
||||
DeploymentNotificationService,
|
||||
IdeConfigService
|
||||
ConfigReadyService,
|
||||
IdeConfigService,
|
||||
DashboardConfigService,
|
||||
SiteConfigService
|
||||
],
|
||||
bootstrap: [
|
||||
AppComponent
|
||||
]
|
||||
})
|
||||
export class AppModule { }
|
||||
export class AppModule {}
|
||||
|
||||
Reference in New Issue
Block a user