diff options
author | Alex <alexta69@gmail.com> | 2019-11-29 19:31:34 +0200 |
---|---|---|
committer | Alex <alexta69@gmail.com> | 2019-11-29 19:31:34 +0200 |
commit | 511404d23f5edd6ccf79db1fc1b0ba622134db24 (patch) | |
tree | 345fe66b840cd6496e1d4a7361a6b309519cad55 /ui/src/main.ts | |
download | metube-511404d23f5edd6ccf79db1fc1b0ba622134db24.tar.gz metube-511404d23f5edd6ccf79db1fc1b0ba622134db24.tar.bz2 metube-511404d23f5edd6ccf79db1fc1b0ba622134db24.zip |
initial commit: working version
Diffstat (limited to 'ui/src/main.ts')
-rw-r--r-- | ui/src/main.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/src/main.ts b/ui/src/main.ts new file mode 100644 index 0000000..c7b673c --- /dev/null +++ b/ui/src/main.ts @@ -0,0 +1,12 @@ +import { enableProdMode } from '@angular/core'; +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + +import { AppModule } from './app/app.module'; +import { environment } from './environments/environment'; + +if (environment.production) { + enableProdMode(); +} + +platformBrowserDynamic().bootstrapModule(AppModule) + .catch(err => console.error(err)); |