Skip to content

Commit

Permalink
Update README to comply to new Webpack API
Browse files Browse the repository at this point in the history
module.loaders has been renamed to module.rules
  • Loading branch information
adrienharnay committed Dec 4, 2018
1 parent ef6dfb3 commit e2d85c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -114,7 +114,7 @@ Given you may want to configure merging behavior per field, there's a strategy v
var output = merge.strategy(
{
entry: 'prepend', // or 'replace', defaults to 'append'
'module.loaders': 'prepend'
'module.rules': 'prepend'
}
)(object1, object2, object3, ...);
```
Expand All @@ -127,7 +127,7 @@ The same idea works with smart merging too (described below in greater detail).
var output = merge.smartStrategy(
{
entry: 'prepend', // or 'replace'
'module.loaders': 'prepend'
'module.rules': 'prepend'
}
)(object1, object2, object3, ...);
```
Expand Down

0 comments on commit e2d85c2

Please sign in to comment.