File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,21 @@ Angular2App.prototype.toTree = function() {
54
54
files : vendorNpmFiles ,
55
55
destDir : 'vendor'
56
56
} ) ;
57
+
58
+ var vendorNpmJs = new Concat ( vendorNpmTree , {
59
+ inputFiles : [ //TODO: figure out how to make it a glob that maintains the order of the files
60
+ '**/angular2-polyfills.js' ,
61
+ '**/system.src.js' ,
62
+ '**/system-polyfills.js' ,
63
+ '**/es6-shim.js' ,
64
+ '**/angular2.dev.js' ,
65
+ '**/http.dev.js' ,
66
+ '**/router.dev.js' ,
67
+ '**/upgrade.dev.js' ,
68
+ '**/Rx.js'
69
+ ] ,
70
+ outputFile : '/thirdparty/vendor.js'
71
+ } ) ;
57
72
58
73
var thirdPartyJsTree = new Funnel ( 'node_modules' , {
59
74
include : [ 'ng2*/bundles/*.js' ] ,
@@ -80,7 +95,7 @@ Angular2App.prototype.toTree = function() {
80
95
tsTree ,
81
96
jsTree ,
82
97
this . index ( ) ,
83
- vendorNpmTree ,
98
+ vendorNpmJs ,
84
99
thirdPartyJs
85
100
] , { overwrite : true } ) ;
86
101
} ;
You can’t perform that action at this time.
0 commit comments