27 lines
678 B
TypeScript
27 lines
678 B
TypeScript
import type { NextConfig } from 'next'
|
|
import createNextIntlPlugin from 'next-intl/plugin'
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: false,
|
|
output: 'standalone',
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'tangledup-ai-staging.oss-cn-shanghai.aliyuncs.com',
|
|
pathname: '/**',
|
|
},
|
|
],
|
|
formats: ['image/webp', 'image/avif'],
|
|
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
|
|
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
|
|
minimumCacheTTL: 60,
|
|
},
|
|
compress: true,
|
|
poweredByHeader: false,
|
|
}
|
|
|
|
const withNextIntl = createNextIntlPlugin()
|
|
|
|
export default withNextIntl(nextConfig)
|