File tree 1 file changed +0
-21
lines changed
1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,12 @@ function Angular2App(defaults, options) {
35
35
Angular2App . prototype . toTree = function ( ) {
36
36
var assetTree = this . _getAssetsTree ( ) ;
37
37
var tsTree = this . _getTsTree ( ) ;
38
- var tsSrcTree = this . _getTsSrcTree ( ) ;
39
38
var indexTree = this . _getIndexTree ( ) ;
40
39
var vendorNpmTree = this . _getVendorNpmTree ( ) ;
41
40
var excludeDotfilesTree = this . _getPublicTree ( ) ;
42
41
43
42
var buildTrees = [ assetTree , tsTree , indexTree , vendorNpmTree ] ;
44
43
45
- if ( ! isProduction ) {
46
- buildTrees . push ( tsSrcTree ) ;
47
- }
48
-
49
44
if ( fs . existsSync ( 'public' ) ) {
50
45
buildTrees . push ( excludeDotfilesTree ) ;
51
46
}
@@ -326,22 +321,6 @@ Angular2App.prototype._getAssetsTree = function () {
326
321
} ) ;
327
322
} ;
328
323
329
-
330
- /**
331
- * Returns the `tsSrc` tree.
332
- *
333
- * @private
334
- * @method _getTsSrcTree
335
- * @return {Tree } The TS src tree.
336
- */
337
- Angular2App . prototype . _getTsSrcTree = function ( ) {
338
- return new Funnel ( sourceDir , {
339
- include : [ '**/*.ts' ] ,
340
- allowEmpty : true
341
- } ) ;
342
- } ;
343
-
344
-
345
324
/**
346
325
* Returns the `excludeDotfiles` tree.
347
326
*
You can’t perform that action at this time.
0 commit comments