2016-04-20 16:32:12 +03:00
|
|
|
// For vendors for example jQuery, Lodash, angular2-jwt just import them here unless you plan on
|
|
|
|
|
// chunking vendors files for async loading. You would need to import the async loaded vendors
|
|
|
|
|
// at the entry point of the async loaded file. Also see custom-typings.d.ts as you also need to
|
|
|
|
|
// run `typings install x` where `x` is your module
|
|
|
|
|
|
|
|
|
|
// Angular 2
|
|
|
|
|
import 'angular2/platform/browser';
|
|
|
|
|
import 'angular2/platform/common_dom';
|
|
|
|
|
import 'angular2/core';
|
|
|
|
|
import 'angular2/common';
|
|
|
|
|
import 'angular2/http';
|
|
|
|
|
import 'angular2/router';
|
|
|
|
|
|
|
|
|
|
// RxJS
|
|
|
|
|
import 'rxjs/add/operator/map';
|
|
|
|
|
import 'rxjs/add/operator/mergeMap';
|
|
|
|
|
|
2016-04-26 15:49:00 +03:00
|
|
|
// Web dependencies
|
2016-05-11 12:55:46 +03:00
|
|
|
// TODO: make sure this is a correct place
|
2016-04-26 15:49:00 +03:00
|
|
|
import 'jquery';
|
|
|
|
|
import 'bootstrap-loader';
|
|
|
|
|
import 'font-awesome-sass-loader';
|
|
|
|
|
|
|
|
|
|
|
2016-04-20 16:32:12 +03:00
|
|
|
if ('production' === ENV) {
|
|
|
|
|
// Production
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
// Development
|
|
|
|
|
|
|
|
|
|
}
|