- Updated `serverExternalPackages` in the Next.js configuration to exclude `@sentry/node`, improving compatibility with React's RSC/client boundary. - Removed the `instrumentation.ts` file and refactored Sentry-related code to a no-op, ensuring it does not interfere with the Next.js build process. - Simplified the dashboard page by integrating `DashboardGuildGrid`, enhancing the user interface and reducing complexity in the component structure.
12 lines
317 B
TypeScript
12 lines
317 B
TypeScript
import path from 'path';
|
|
import type { NextConfig } from 'next';
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
transpilePackages: ['@nexumi/shared'],
|
|
outputFileTracingRoot: path.join(__dirname, '../..'),
|
|
serverExternalPackages: ['@prisma/client', 'ioredis', 'bullmq']
|
|
};
|
|
|
|
export default nextConfig;
|