We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32a2ab8 commit 8440e37Copy full SHA for 8440e37
packages/@angular/cli/models/webpack-test-config.ts
@@ -1,4 +1,3 @@
1
-import * as webpack from 'webpack';
2
const webpackMerge = require('webpack-merge');
3
4
import { BuildOptions } from './build-options';
@@ -28,11 +27,6 @@ export class WebpackTestConfig extends NgCliWebpackConfig {
28
27
];
29
30
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));
36
37
return this.config;
38
}
0 commit comments