summaryrefslogtreecommitdiff
path: root/overlays/spm/frontend/src/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/spm/frontend/src/main.ts')
-rw-r--r--overlays/spm/frontend/src/main.ts12
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 @@
1import { enableProdMode } from '@angular/core';
2import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
4import { AppModule } from './app/app.module';
5import { environment } from './environments/environment';
6
7if (environment.production) {
8 enableProdMode();
9}
10
11platformBrowserDynamic().bootstrapModule(AppModule)
12 .catch(err => console.error(err));