mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
- Removed unnecessary imports from header, account-info, loading-overlay, navigation-bar, season-container, serial-details, and vod-details components. - Updated template syntax to use structural directives more efficiently in mpv-player-bar, account-info, navigation-bar, season-container, serial-details, and vod-details components. - Enhanced readability and maintainability of the code by organizing imports and using Angular's async pipe and structural directives appropriately. - Adjusted TypeScript configuration to use "bundler" for module resolution for better compatibility with modern build tools.
13 lines
356 B
TypeScript
13 lines
356 B
TypeScript
import { enableProdMode } from '@angular/core';
|
|
import { platformBrowser } from '@angular/platform-browser';
|
|
import { AppModule } from './app/app.module';
|
|
import { AppConfig } from './environments/environment';
|
|
|
|
if (AppConfig.production) {
|
|
enableProdMode();
|
|
}
|
|
|
|
platformBrowser()
|
|
.bootstrapModule(AppModule)
|
|
.catch((err) => console.error(err));
|