]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/main.ts
Client: Update to Angular RC4
[github/Chocobozzz/PeerTube.git] / client / src / main.ts
1 import { enableProdMode } from '@angular/core';
2 import { bootstrap } from '@angular/platform-browser-dynamic';
3 import { provideRouter } from '@angular/router';
4
5 import { AppComponent } from './app/app.component';
6 import { routes } from './app/app.routes';
7
8 if (process.env.ENV === 'production') {
9 enableProdMode();
10 }
11
12 bootstrap(AppComponent, [ provideRouter(routes) ]);