Relax on tags (accept any characters and not required anymore)
[oweals/peertube.git] / client / src / main.browser.ts
1 import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
2 import { decorateModuleRef } from './app/environment';
3 import { bootloader } from '@angularclass/hmr';
4 /*
5  * App Module
6  * our top level module that holds all of our components
7  */
8 import { AppModule } from './app';
9
10 /*
11  * Bootstrap our Angular app with a top level NgModule
12  */
13 export function main(): Promise<any> {
14   return platformBrowserDynamic()
15     .bootstrapModule(AppModule)
16     .then(decorateModuleRef)
17     .catch(err => console.error(err));
18 }
19
20 bootloader(main);