All checks were successful
Build and deploy / build-deploy (push) Successful in 1m18s
21 lines
566 B
JavaScript
21 lines
566 B
JavaScript
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
// node-mailjet uses dynamic requires that Next's static tracer misses, so
|
|
// it never lands in .next/standalone/node_modules. Force-include it.
|
|
outputFileTracingIncludes: {
|
|
'**': ['./node_modules/node-mailjet/**/*'],
|
|
},
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: '2mb',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|