diff --git a/addon/ng2/blueprints/ng2/files/__path__/vendor.ts b/addon/ng2/blueprints/ng2/files/__path__/vendor.ts deleted file mode 100644 index f0f02685fb31..000000000000 --- a/addon/ng2/blueprints/ng2/files/__path__/vendor.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Typescript emit helpers polyfill -import 'ts-helpers'; - -import '@angular/core'; -import '@angular/common'; -import '@angular/compiler'; -import '@angular/http'; -import '@angular/router'; -import '@angular/platform-browser'; -import '@angular/platform-browser-dynamic'; - -<% if(isMobile) { %> -import '@angular/app-shell'; -<% } %> - -import 'rxjs/add/operator/map'; -import 'rxjs/add/operator/mergeMap'; diff --git a/addon/ng2/blueprints/ng2/files/config/karma.conf.js b/addon/ng2/blueprints/ng2/files/config/karma.conf.js index cff5f0a204d5..71e33490cf37 100644 --- a/addon/ng2/blueprints/ng2/files/config/karma.conf.js +++ b/addon/ng2/blueprints/ng2/files/config/karma.conf.js @@ -14,10 +14,6 @@ module.exports = function (config) { } }, files: [], - exclude: [ - // Vendor packages might include spec files. We don't want to use those. - 'dist/vendor/**/*.spec.js' - ], preprocessors: {}, reporters: ['progress'], port: 9876, diff --git a/addon/ng2/models/webpack-build-common.ts b/addon/ng2/models/webpack-build-common.ts index c41045021b8f..feb71aba1f3d 100644 --- a/addon/ng2/models/webpack-build-common.ts +++ b/addon/ng2/models/webpack-build-common.ts @@ -26,7 +26,6 @@ export function getWebpackCommonConfig(projectRoot: string) { context: path.resolve(__dirname, './'), entry: { main: [path.resolve(projectRoot, './src/main.ts')], - vendor: path.resolve(projectRoot, './src/vendor.ts'), polyfills: path.resolve(projectRoot, './src/polyfills.ts') }, output: { @@ -74,7 +73,7 @@ export function getWebpackCommonConfig(projectRoot: string) { chunksSortMode: 'dependency' }), new webpack.optimize.CommonsChunkPlugin({ - name: ['vendor', 'polyfills'] + name: ['polyfills'] }), new webpack.optimize.CommonsChunkPlugin({ minChunks: Infinity,