Skip to content

Commit 89b4dd5

Browse files
authored
chore: remove vendor.ts (#1383)
1 parent de98a64 commit 89b4dd5

File tree

3 files changed

+1
-23
lines changed

3 files changed

+1
-23
lines changed

addon/ng2/blueprints/ng2/files/__path__/vendor.ts

-17
This file was deleted.

addon/ng2/blueprints/ng2/files/config/karma.conf.js

-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ module.exports = function (config) {
1414
}
1515
},
1616
files: [],
17-
exclude: [
18-
// Vendor packages might include spec files. We don't want to use those.
19-
'dist/vendor/**/*.spec.js'
20-
],
2117
preprocessors: {},
2218
reporters: ['progress'],
2319
port: 9876,

addon/ng2/models/webpack-build-common.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export function getWebpackCommonConfig(projectRoot: string) {
2626
context: path.resolve(__dirname, './'),
2727
entry: {
2828
main: [path.resolve(projectRoot, './src/main.ts')],
29-
vendor: path.resolve(projectRoot, './src/vendor.ts'),
3029
polyfills: path.resolve(projectRoot, './src/polyfills.ts')
3130
},
3231
output: {
@@ -74,7 +73,7 @@ export function getWebpackCommonConfig(projectRoot: string) {
7473
chunksSortMode: 'dependency'
7574
}),
7675
new webpack.optimize.CommonsChunkPlugin({
77-
name: ['vendor', 'polyfills']
76+
name: ['polyfills']
7877
}),
7978
new webpack.optimize.CommonsChunkPlugin({
8079
minChunks: Infinity,

0 commit comments

Comments
 (0)