mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This PR updates a few features from experimental to stable status: - `next/future/image` component - `remotePatterns` configuration - `unoptimized` configuration
25 lines
547 B
Plaintext
25 lines
547 B
Plaintext
module.exports = phase => {
|
|
return {
|
|
images: {
|
|
formats: ['image/avif', 'image/webp'],
|
|
imageSizes: [64, 128, 256, 512, 1024],
|
|
domains: ['example.com', 'another.com'],
|
|
remotePatterns: [{ protocol: 'https', hostname: '**.example.com' }],
|
|
},
|
|
i18n: {
|
|
locales: ['en','nl','fr'],
|
|
defaultLocale: 'en',
|
|
domains: [
|
|
{
|
|
domain: 'example.com',
|
|
defaultLocale: 'en'
|
|
},
|
|
{
|
|
domain: 'example.fr',
|
|
defaultLocale: 'fr'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|