diff --git a/lib/broccoli/angular2-app.js b/lib/broccoli/angular2-app.js index 581dc2bb04..bb37822463 100644 --- a/lib/broccoli/angular2-app.js +++ b/lib/broccoli/angular2-app.js @@ -29,13 +29,9 @@ Angular2App.prototype.toTree = function () { allowEmpty: true }); - var cssTree = new Funnel(sourceTree, { - include: ['**/*.css'], - allowEmpty: true - }); - - var htmlTree = new Funnel(sourceTree, { - include: ['**/*.html'], + var assetTree = new Funnel(sourceTree, { + include: ['**/*.*'], + exclude: ['**/*.ts', '**/*.js'], allowEmpty: true }); @@ -57,7 +53,7 @@ Angular2App.prototype.toTree = function () { // outputFile: '/app.js' // }); - return mergeTrees([tsSrcTree, tsTree, jsTree, cssTree, htmlTree, this.index(), vendorJsTree], { overwrite: true }); + return mergeTrees([assetTree, tsSrcTree, tsTree, jsTree, this.index(), vendorJsTree], { overwrite: true }); }; /**