add ng2-webpack-config

This commit is contained in:
Oleksandr Telnov
2016-09-15 10:22:43 +03:00
parent 0e7e397f7d
commit cdc76cced0
29 changed files with 305 additions and 428 deletions

23
demo/vendor.ts Normal file
View File

@@ -0,0 +1,23 @@
// 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 '@angular/common';
import '@angular/core';
import '@angular/forms';
import '@angular/platform-browser';
import '@angular/platform-browser-dynamic';
// RxJS
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/mergeMap';
if ('production' === ENV) {
// Production
} else {
// Development
}