Skip to content

Commit 52fbc35

Browse files
authored
Update README
Replace clone-deep with clone since clone-deep does not copy properties from the prototype chain. This can be a problem with plugin instances, see webpack-contrib/less-loader#181 (comment)
1 parent 07aea65 commit 52fbc35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ options.arr = options.arr.slice();
3232
someLibrary(options);
3333
```
3434

35-
[clone-deep](https://www.npmjs.com/package/clone-deep) is a good library to make a deep copy of the options.
35+
[clone](https://www.npmjs.com/package/clone) is a good library to make a deep copy of the options.
3636

3737
#### Options as query strings
3838

0 commit comments

Comments
 (0)