19 lines
483 B
TypeScript
19 lines
483 B
TypeScript
import type { NextConfig } from 'next';
|
|
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
devIndicators: false,
|
|
// eslint: {
|
|
// ignoreDuringBuilds: true,
|
|
// },
|
|
};
|
|
const withNextIntl = createNextIntlPlugin({
|
|
requestConfig: './src/shared/config/i18n/request.ts',
|
|
experimental: {
|
|
createMessagesDeclaration: './src/shared/config/i18n/messages/uz.json',
|
|
},
|
|
});
|
|
|
|
export default withNextIntl(nextConfig);
|