diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:08:03 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:08:03 +0200 |
commit | 4a6995be18b15de1834a39c8921a0e4109671bb6 (patch) | |
tree | b659661cea33687fcc6bd8fc2251cb7a15ab9f9d /client/src/main.ts | |
parent | 468892541175f9662f8b1b977e819dc1a496f282 (diff) | |
download | PeerTube-4a6995be18b15de1834a39c8921a0e4109671bb6.tar.gz PeerTube-4a6995be18b15de1834a39c8921a0e4109671bb6.tar.zst PeerTube-4a6995be18b15de1834a39c8921a0e4109671bb6.zip |
First draft to use webpack instead of systemjs
Diffstat (limited to 'client/src/main.ts')
-rw-r--r-- | client/src/main.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/main.ts b/client/src/main.ts new file mode 100644 index 000000000..76b3f498a --- /dev/null +++ b/client/src/main.ts | |||
@@ -0,0 +1,10 @@ | |||
1 | import { enableProdMode } from '@angular/core'; | ||
2 | import { bootstrap } from '@angular/platform-browser-dynamic'; | ||
3 | |||
4 | import { AppComponent } from './app/app.component'; | ||
5 | |||
6 | if (process.env.ENV === 'production') { | ||
7 | enableProdMode(); | ||
8 | } | ||
9 | |||
10 | bootstrap(AppComponent); | ||