aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/vendor.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/vendor.ts')
-rw-r--r--client/src/vendor.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/client/src/vendor.ts b/client/src/vendor.ts
new file mode 100644
index 000000000..0f82c59a4
--- /dev/null
+++ b/client/src/vendor.ts
@@ -0,0 +1,28 @@
1// For vendors for example jQuery, Lodash, angular2-jwt just import them here unless you plan on
2// chunking vendors files for async loading. You would need to import the async loaded vendors
3// at the entry point of the async loaded file. Also see custom-typings.d.ts as you also need to
4// run `typings install x` where `x` is your module
5
6// Angular 2
7import '@angular/platform-browser';
8import '@angular/platform-browser-dynamic';
9import '@angular/core';
10import '@angular/common';
11import '@angular/http';
12import '@angular/router-deprecated';
13
14// RxJS
15import 'rxjs/add/operator/map';
16import 'rxjs/add/operator/mergeMap';
17
18import 'jquery';
19import 'bootstrap-loader';
20
21if ('production' === ENV) {
22 // Production
23
24
25} else {
26 // Development
27
28}