Files
boka-gasol247/next.config.mjs
Ola 98e05193ec
All checks were successful
Build and deploy / build-deploy (push) Successful in 1m18s
build: force-include node-mailjet in standalone output
2026-05-22 22:16:07 +02:00

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);