Skip to content
Snippets Groups Projects
Unverified Commit cd66015b authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Merge pull request #17 from FZJ-INM1-BDA/bugfix/enableProduction

bugfix: enable Prod mode
parents a48b1e28 311c4004
No related branches found
No related tags found
No related merge requests found
import { enableProdMode } from '@angular/core';
enableProdMode()
import './main-common'
/* aot === production mode */
if (PRODUCTION) { console.log(`Interactive Atlas Viewer: ${VERSION}`) }
import 'zone.js'
import 'third_party/testSafari.js'
import { enableProdMode } from '@angular/core';
import { defineCustomElements } from 'hbp-connectivity-component/dist/loader'
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'
import { MainModule } from './main.module';
if (PRODUCTION) enableProdMode()
if (PRODUCTION) { console.log(`Interactive Atlas Viewer: ${VERSION}`) }
const requireAll = (r: any) => {r.keys().forEach(r)}
requireAll(require.context('./res/ext', false, /\.json$/))
requireAll(require.context('./res/images', true, /\.jpg$|\.png$|\.svg$/))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment