diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-05-26 13:58:07 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-05-26 13:58:07 +0200 |
commit | fc6cf6169868e60c189e4b243330c3717ff159f3 (patch) | |
tree | 3f6dea9c1420e23756257b5abea27ec9ed92d58a /overlays/spm/frontend/src/main.ts | |
parent | 84f2affd66a0ff3947b91a30308cb8e6a8ff7594 (diff) | |
download | nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.gz nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.bz2 nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.xz nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.zip |
...
Diffstat (limited to 'overlays/spm/frontend/src/main.ts')
-rw-r--r-- | overlays/spm/frontend/src/main.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/overlays/spm/frontend/src/main.ts b/overlays/spm/frontend/src/main.ts new file mode 100644 index 00000000..c7b673cf --- /dev/null +++ b/overlays/spm/frontend/src/main.ts | |||
@@ -0,0 +1,12 @@ | |||
1 | import { enableProdMode } from '@angular/core'; | ||
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | ||
3 | |||
4 | import { AppModule } from './app/app.module'; | ||
5 | import { environment } from './environments/environment'; | ||
6 | |||
7 | if (environment.production) { | ||
8 | enableProdMode(); | ||
9 | } | ||
10 | |||
11 | platformBrowserDynamic().bootstrapModule(AppModule) | ||
12 | .catch(err => console.error(err)); | ||