added tons of features
This commit is contained in:
@@ -1,7 +1,35 @@
|
||||
import type { NextConfig } from "next";
|
||||
import type {NextConfig} from 'next'
|
||||
import createNextIntlPlugin from 'next-intl/plugin'
|
||||
|
||||
const withNextIntl = createNextIntlPlugin({
|
||||
experimental: {
|
||||
createMessagesDeclaration: './messages/uk.json'
|
||||
}
|
||||
})
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
};
|
||||
experimental: {
|
||||
authInterrupts: true
|
||||
// serverActions: {
|
||||
// bodySizeLimit: '20mb'
|
||||
// }
|
||||
// // staleTimes: {
|
||||
// dynamic: 30,
|
||||
// static: 180
|
||||
// }
|
||||
},
|
||||
|
||||
export default nextConfig;
|
||||
images: {
|
||||
formats: ['image/avif', 'image/webp'],
|
||||
dangerouslyAllowSVG: true,
|
||||
//unoptimized: true,
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: '*'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export default withNextIntl(nextConfig)
|
||||
|
||||
Reference in New Issue
Block a user