Skip to content

Commit

Permalink
Set clone: false for deepmerge
Browse files Browse the repository at this point in the history
  • Loading branch information
jnv committed Dec 28, 2020
1 parent f98c668 commit 4f38183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/next-plugin/nextPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const defaults = {
* @returns {object}
*/
module.exports = function withImg(pluginConfig = {}, nextComposePlugins = {}) {
pluginConfig = deepmerge.all([{}, defaults, pluginConfig], { arrayMerge: overwriteMerge })
pluginConfig = deepmerge.all([{}, defaults, pluginConfig], { arrayMerge: overwriteMerge, clone: false })

return {
...pluginConfig,
Expand Down

0 comments on commit 4f38183

Please sign in to comment.