build: force-include node-mailjet in standalone output
All checks were successful
Build and deploy / build-deploy (push) Successful in 1m18s
All checks were successful
Build and deploy / build-deploy (push) Successful in 1m18s
This commit is contained in:
@@ -5,6 +5,11 @@ 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',
|
||||
|
||||
Reference in New Issue
Block a user