Skip to content

Commit

Permalink
fix(@angular/cli): show warning when old karma plugin is imported
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored and hansl committed Mar 21, 2018
1 parent 2ee7e9c commit 916731c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/@angular/cli/plugins/karma.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
throw new Error(
'In Angular CLI >6.0 the Karma plugin is now exported by "@angular-devkit/build-webpack" instead.\n'
+ 'Please replace "@angular/cli" with "@angular-devkit/build-webpack" in your "karma.conf.js" file.'
);
5 changes: 0 additions & 5 deletions plugins/karma.js

This file was deleted.

0 comments on commit 916731c

Please sign in to comment.