diff options
Diffstat (limited to 'alarm-analysis/src/main/webapp/alarm/main.ts')
-rw-r--r-- | alarm-analysis/src/main/webapp/alarm/main.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/alarm-analysis/src/main/webapp/alarm/main.ts b/alarm-analysis/src/main/webapp/alarm/main.ts new file mode 100644 index 00000000..32297373 --- /dev/null +++ b/alarm-analysis/src/main/webapp/alarm/main.ts @@ -0,0 +1,7 @@ +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
+import { enableProdMode } from '@angular/core';
+import { AppModule } from './app/app.module';
+if (process.env.ENV === 'production') {
+ enableProdMode();
+}
+platformBrowserDynamic().bootstrapModule(AppModule);
|