a3aa6590ff
We already had `domains` as "not recommended" but this PR marks it as "deprecated" and prints a warning if its detected. I also updated all examples to switch from `domains` to `remotePatterns`.
18 lines
319 B
JavaScript
18 lines
319 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
compiler: {
|
|
styledComponents: true,
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'vod.api.video',
|
|
port: '',
|
|
pathname: '/my-account/**',
|
|
},
|
|
],
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|