From 4a6995be18b15de1834a39c8921a0e4109671bb6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Jun 2016 22:08:03 +0200 Subject: First draft to use webpack instead of systemjs --- client/src/main.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 client/src/main.ts (limited to 'client/src/main.ts') 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 @@ +import { enableProdMode } from '@angular/core'; +import { bootstrap } from '@angular/platform-browser-dynamic'; + +import { AppComponent } from './app/app.component'; + +if (process.env.ENV === 'production') { + enableProdMode(); +} + +bootstrap(AppComponent); -- cgit v1.2.3