diff --git a/lib/broccoli/angular2-app.js b/lib/broccoli/angular2-app.js index 2cb6ba39a958..22b0c58480ab 100644 --- a/lib/broccoli/angular2-app.js +++ b/lib/broccoli/angular2-app.js @@ -63,15 +63,8 @@ Angular2App.prototype.toTree = function() { destDir: 'vendor' }); - var thirdPartyJsTree = new Funnel('node_modules', { - include: ['ng2*/bundles/*.js'], - exclude: ['ng2*/bundles/*.min.js', 'ng2*/bundles/*.standalone.js'], - }); - - var thirdPartyJs = new Concat(thirdPartyJsTree, { - inputFiles: ['**/*.js'], - outputFile: '/thirdparty/libs.js', - allowNone: true + var typingsTree = new Funnel('typings', { + exclude: ['**/*.d.ts'] }); var merged = mergeTrees([ @@ -81,7 +74,7 @@ Angular2App.prototype.toTree = function() { jsTree, this.index(), vendorNpmTree, - thirdPartyJs + typingsTree ], { overwrite: true }); return mergeTrees([merged, new SwManifest(merged)]); diff --git a/tests/e2e/e2e_workflow.spec.js b/tests/e2e/e2e_workflow.spec.js index 59962b298a1f..cccffe8b58bb 100644 --- a/tests/e2e/e2e_workflow.spec.js +++ b/tests/e2e/e2e_workflow.spec.js @@ -79,7 +79,6 @@ describe('Basic end-to-end Workflow', function () { // Check that a few critical files have been detected. expect(lines).to.include(`${path.sep}index.html`); - expect(lines).to.include(`${path.sep}thirdparty${path.sep}libs.js`); }); it('Perform `ng test` after initial build', function() {