File tree 4 files changed +7
-11
lines changed
addon/ng2/blueprints/ng2/files
4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 4
4
"declaration" : false ,
5
5
"emitDecoratorMetadata" : true ,
6
6
"experimentalDecorators" : true ,
7
- "mapRoot" : " " ,
8
7
"module" : " commonjs" ,
9
8
"moduleResolution" : " node" ,
10
9
"noEmitOnError" : true ,
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ module.exports = function(defaults) {
7
7
vendorNpmFiles : [
8
8
'systemjs/dist/system-polyfills.js' ,
9
9
'systemjs/dist/system.src.js' ,
10
- 'zone.js/dist/*.js ' ,
10
+ 'zone.js/dist/**/*.+(js|js.map) ' ,
11
11
'es6-shim/es6-shim.js' ,
12
- 'reflect-metadata/*.js ' ,
13
- 'rxjs/**/*.js ' ,
14
- '@angular/**/*.js '
12
+ 'reflect-metadata/**/*.+(js|js.map) ' ,
13
+ 'rxjs/**/*.+(js|js.map) ' ,
14
+ '@angular/**/*.+(js|js.map) '
15
15
]
16
16
} ) ;
17
17
} ;
Original file line number Diff line number Diff line change @@ -404,21 +404,18 @@ class Angular2App extends BroccoliPlugin {
404
404
}
405
405
406
406
_getBundleTree ( preBundleTree ) {
407
- var indexFile = path . join ( this . _sourceDir , 'index.html' ) ;
408
- var indexContent = fs . readFileSync ( indexFile , 'utf8' ) ;
409
- var scriptTagVendorFiles = indexContent . match ( / v e n d o r \/ [ ^ " ' ] * \. j s / gi) ;
410
407
var vendorTree = this . _getVendorNpmTree ( ) ;
411
408
var assetsTree = this . _getAssetsTree ( ) ;
412
409
413
410
var scriptTree = new BroccoliFunnel ( preBundleTree , {
414
- include : scriptTagVendorFiles
411
+ include : this . _options . polyfills
415
412
} ) ;
416
413
417
414
var nonJsTree = new BroccoliFunnel ( preBundleTree , {
418
415
exclude : [ '**/*.js' , '**/*.js.map' ]
419
416
} ) ;
420
417
var jsTree = new BroccoliFunnel ( preBundleTree , {
421
- include : [ '**/*.js' ]
418
+ include : [ '**/*.js' , '**/*.js.map' ]
422
419
} ) ;
423
420
424
421
var bundleTree = new BundlePlugin ( [ jsTree ] ) ;
Original file line number Diff line number Diff line change 52
52
"shelljs" : " ^0.7.0" ,
53
53
"silent-error" : " ^1.0.0" ,
54
54
"symlink-or-copy" : " ^1.0.3" ,
55
- "systemjs-builder" : " ^ 0.15.16 " ,
55
+ "systemjs-builder" : " 0.15.17 " ,
56
56
"typescript" : " ^1.8.10" ,
57
57
"typings" : " ^0.8.1"
58
58
},
You can’t perform that action at this time.
0 commit comments