diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-11 17:36:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-12 10:58:16 +0100 |
commit | 63c4db6d71b98523753c51747e308682d9a2e8a0 (patch) | |
tree | d26c0d092ce016f2afe56bf71b08ca4698fe673f /client/src/main.ts | |
parent | 908f6e5e38e85cc0debab0051b7fa34b13025f96 (diff) | |
download | PeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.tar.gz PeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.tar.zst PeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.zip |
Move to angular cli
Diffstat (limited to 'client/src/main.ts')
-rw-r--r-- | client/src/main.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/main.ts b/client/src/main.ts new file mode 100644 index 000000000..91ec6da5f --- /dev/null +++ b/client/src/main.ts | |||
@@ -0,0 +1,12 @@ | |||
1 | import { enableProdMode } from '@angular/core'; | ||
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | ||
3 | |||
4 | import { AppModule } from './app/app.module'; | ||
5 | import { environment } from './environments/environment'; | ||
6 | |||
7 | if (environment.production) { | ||
8 | enableProdMode(); | ||
9 | } | ||
10 | |||
11 | platformBrowserDynamic().bootstrapModule(AppModule) | ||
12 | .catch(err => console.log(err)); | ||