Skip to content

Commit

Permalink
fix(deps): add 'webpack' to peer deps
Browse files Browse the repository at this point in the history
Enables Yarn v2 support and gets rid of Yarn v1 warnings that:

```
next-images@npm:1.4.1 doesn't provide webpack@^4.0.0 || ^5.0.0 requested by file-loader@npm:6.0.0
next-images@npm:1.4.1 doesn't provide webpack@^4.0.0 || ^5.0.0 requested by url-loader@npm:4.1.0
```
  • Loading branch information
nicholaschiang committed Jul 31, 2020
1 parent 2b8afb7 commit 5863c2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"dependencies": {
"file-loader": "^6.0.0",
"url-loader": "^4.0.0"
},
"peerDependencies": {
"webpack": "^4.0.0 || ^5.0.0"
}
}

0 comments on commit 5863c2f

Please sign in to comment.