Mercurial > hg > ng2-query-ismi
annotate src/main.ts @ 62:7787ca310644 webpack tip
update @angular to 4.4.5.
| author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
|---|---|
| date | Wed, 18 Oct 2017 17:46:41 +0200 |
| parents | 7b9d616695d3 |
| children |
| rev | line source |
|---|---|
|
47
b65a031c4967
first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff
changeset
|
1 import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; |
| 60 | 2 import { enableProdMode } from '@angular/core'; |
|
47
b65a031c4967
first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff
changeset
|
3 |
|
57
d7c947909ab8
renamed query-app.module to app.module. loading query from url fragment works now.
casties
parents:
47
diff
changeset
|
4 import { AppModule } from './app/app.module'; |
|
47
b65a031c4967
first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff
changeset
|
5 |
| 60 | 6 if (process.env.ENV === 'production') { |
| 7 console.log("Running in ProdMode!"); | |
| 8 enableProdMode(); | |
| 9 } | |
| 10 // boot | |
|
47
b65a031c4967
first step to angular2-final (2.4) version of the query browser.
casties
parents:
diff
changeset
|
11 platformBrowserDynamic().bootstrapModule(AppModule); |
