import path from 'path'; import type { NextConfig } from 'next'; const nextConfig: NextConfig = { output: 'standalone', transpilePackages: ['@nexumi/shared'], outputFileTracingRoot: path.join(__dirname, '../..'), // Keep Node-only packages out of the Next server webpack bundle so they // cannot break React's RSC/client boundary during page-data collection. serverExternalPackages: ['@sentry/node', '@prisma/client', 'ioredis', 'bullmq'] }; export default nextConfig;