fix(shared): Added missing host config for Next image component
This commit is contained in:
parent
0af8fc0f1b
commit
ed0cf1cd33
1 changed files with 10 additions and 0 deletions
|
@ -120,6 +120,16 @@ const config = ({ site, jargon = {} }) => {
|
|||
externalDir: true,
|
||||
},
|
||||
pageExtensions: ['mjs'],
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'cdn.sanity.io',
|
||||
pathname: '/images/**',
|
||||
port: '',
|
||||
},
|
||||
],
|
||||
},
|
||||
webpack: (config, options) => {
|
||||
// Fixes npm packages that depend on node modules
|
||||
if (!options.isServer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue