Skip to content

Commit

Permalink
fix(index): migrate loaders => rules
Browse files Browse the repository at this point in the history
BREAKING CHANGE: requires webpack@>=2.1.0.beta.25
  • Loading branch information
niieani committed Oct 29, 2016
1 parent 417e2a9 commit 6039c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export = function istanbul({include = undefined, exclude = undefined}:{include?,
return function istanbul(this: WebpackConfigWithMetadata): WebpackConfigWithMetadata {
return {
module: {
loaders: get(this, 'module.loaders', []).concat([{
rules: get(this, 'module.rules', []).concat([{
test: /\.(js|ts)$/,
loader: 'sourcemap-istanbul-instrumenter',
query: {
Expand Down

0 comments on commit 6039c97

Please sign in to comment.