Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva committed May 3, 2017
1 parent 32a2ab8 commit 8440e37
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/@angular/cli/models/webpack-test-config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as webpack from 'webpack';
const webpackMerge = require('webpack-merge');

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

this.config = webpackMerge(webpackConfigs);
// delete this.config.entry;

// Remove any instance of CommonsChunkPlugin, not needed with karma-webpack.
// this.config.plugins = this.config.plugins.filter((plugin: any) =>
// !(plugin instanceof webpack.optimize.CommonsChunkPlugin));

return this.config;
}
Expand Down

0 comments on commit 8440e37

Please sign in to comment.