Skip to content

Commit

Permalink
Merge pull request #108 from adrienharnay/patch-1
Browse files Browse the repository at this point in the history
Update README to comply to new Webpack API
  • Loading branch information
bebraw committed Dec 9, 2018
2 parents ef6dfb3 + e2d85c2 commit d05e2d6
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 d05e2d6

Please sign in to comment.