aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/main.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-03 22:08:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-03 22:08:03 +0200
commit4a6995be18b15de1834a39c8921a0e4109671bb6 (patch)
treeb659661cea33687fcc6bd8fc2251cb7a15ab9f9d /client/src/main.ts
parent468892541175f9662f8b1b977e819dc1a496f282 (diff)
downloadPeerTube-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.ts10
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 @@
1import { enableProdMode } from '@angular/core';
2import { bootstrap } from '@angular/platform-browser-dynamic';
3
4import { AppComponent } from './app/app.component';
5
6if (process.env.ENV === 'production') {
7 enableProdMode();
8}
9
10bootstrap(AppComponent);