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
|
|
|
|
|
import 'jquery';
|
|
|
|
|
import 'bootstrap-loader';
|
|
|
|
|
import 'font-awesome-sass-loader';
|
|
|
|
|
|
|
|
|
|
|
2016-04-20 16:32:12 +03:00
|
|
|
// Angular 2 Material 2
|
|
|
|
|
// TODO(gdi2290): uncomment when material is fixed
|
|
|
|
|
// import '@angular2-material/sidenav';
|
|
|
|
|
// import '@angular2-material/toolbar';
|
|
|
|
|
// import '@angular2-material/button';
|
|
|
|
|
// import '@angular2-material/checkbox';
|
|
|
|
|
// import '@angular2-material/radio';
|
|
|
|
|
// import '@angular2-material/progress-circle';
|
|
|
|
|
// import '@angular2-material/card';
|
|
|
|
|
// look in platform/directives and platform/providers
|
|
|
|
|
|
|
|
|
|
if ('production' === ENV) {
|
|
|
|
|
// Production
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
// Development
|
|
|
|
|
|
|
|
|
|
}
|