aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/main.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-13 12:16:00 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-13 12:16:00 +0100
commitc16ce1de8e8c21ad2136335d3b0b7d230e6d2f24 (patch)
treee5177a26dae755833122c4ef73744c2a7f9b53fc /client/src/main.ts
parent80deae8d198f6a376b477d780e76966f8fbb72ce (diff)
downloadPeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.tar.gz
PeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.tar.zst
PeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.zip
Client: add basic aot support
Diffstat (limited to 'client/src/main.ts')
-rw-r--r--client/src/main.ts20
1 files changed, 0 insertions, 20 deletions
diff --git a/client/src/main.ts b/client/src/main.ts
deleted file mode 100644
index 70bf48537..000000000
--- a/client/src/main.ts
+++ /dev/null
@@ -1,20 +0,0 @@
1import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
2import { decorateModuleRef } from './app/environment';
3import { bootloader } from '@angularclass/hmr';
4/*
5 * App Module
6 * our top level module that holds all of our components
7 */
8import { AppModule } from './app';
9
10/*
11 * Bootstrap our Angular app with a top level NgModule
12 */
13export function main(): Promise<any> {
14 return platformBrowserDynamic()
15 .bootstrapModule(AppModule)
16 .then(decorateModuleRef)
17 .catch(err => console.error(err));
18}
19
20bootloader(main);