diff options
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); | ||