Skip to content

Commit

Permalink
Add loader option to sample Next config
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoole authored and lorenzodejong committed Sep 22, 2021
1 parent f71f767 commit 48b6371
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ Finally configure your next.config.js to allow loading images from the Sanity.io
```javascript
module.exports = {
images: {
domains: ['cdn.sanity.io']
domains: ['cdn.sanity.io'],
loader: 'custom'
}
};
```
Expand Down

0 comments on commit 48b6371

Please sign in to comment.