ngx-admin/src/vendor.browser.ts

33 lines
857 B
TypeScript
Raw Normal View History

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
2016-05-11 17:38:01 +03:00
import '@angular/platform-browser';
import '@angular/platform-browser-dynamic';
import '@angular/core';
import '@angular/common';
import '@angular/forms';
2016-05-11 17:38:01 +03:00
import '@angular/http';
import '@angular/router';
2016-04-20 16:32:12 +03:00
// RxJS
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/mergeMap';
// Web dependencies
import 'jquery';
import 'bootstrap-loader';
import 'font-awesome-sass-loader';
2016-05-17 13:34:52 +03:00
import 'lodash';
2016-04-20 16:32:12 +03:00
if ('production' === ENV) {
// Production
} else {
// Development
require('angular2-hmr');
2016-04-20 16:32:12 +03:00
}