Skip to content

Commit 8440e37

Browse files
committed
fix build error
1 parent 32a2ab8 commit 8440e37

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/@angular/cli/models/webpack-test-config.ts

-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as webpack from 'webpack';
21
const webpackMerge = require('webpack-merge');
32

43
import { BuildOptions } from './build-options';
@@ -28,11 +27,6 @@ export class WebpackTestConfig extends NgCliWebpackConfig {
2827
];
2928

3029
this.config = webpackMerge(webpackConfigs);
31-
// delete this.config.entry;
32-
33-
// Remove any instance of CommonsChunkPlugin, not needed with karma-webpack.
34-
// this.config.plugins = this.config.plugins.filter((plugin: any) =>
35-
// !(plugin instanceof webpack.optimize.CommonsChunkPlugin));
3630

3731
return this.config;
3832
}

0 commit comments

Comments
 (0)