Files
no-copy-frontend/next.config.ts
T

17 lines
370 B
TypeScript
Raw Normal View History

2025-11-24 18:24:36 +07:00
import type { NextConfig } from "next";
2025-12-10 16:39:13 +07:00
import createNextIntlPlugin from 'next-intl/plugin';
2026-02-23 12:20:25 +07:00
const { version } = require('./package.json');
2025-11-24 18:24:36 +07:00
const nextConfig: NextConfig = {
2025-12-23 18:56:48 +07:00
experimental: {
serverActions: {
2025-12-26 19:21:39 +07:00
bodySizeLimit: '10mb',
2025-12-23 18:56:48 +07:00
},
},
2026-02-23 12:20:25 +07:00
env: {
APP_VERSION: version,
},
2025-11-24 18:24:36 +07:00
};
2025-12-10 16:39:13 +07:00
const withNextIntl = createNextIntlPlugin();
export default withNextIntl(nextConfig);