mirror of
https://github.com/vercel/commerce.git
synced 2025-06-27 17:01:21 +00:00
23 lines
421 B
TypeScript
23 lines
421 B
TypeScript
import { NextConfig } from 'next';
|
|
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
const withNextIntl = createNextIntlPlugin();
|
|
|
|
const nextConfig: NextConfig = {
|
|
images: {
|
|
localPatterns: [
|
|
{
|
|
pathname: '/assets/images/**'
|
|
}
|
|
],
|
|
formats: ['image/avif', 'image/webp'],
|
|
remotePatterns: [
|
|
{
|
|
hostname: '**'
|
|
}
|
|
]
|
|
}
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|