diff --git a/apps/marketing/next.config.js b/apps/marketing/next.config.js index 7709b15fa5..8bfd0bd0d9 100644 --- a/apps/marketing/next.config.js +++ b/apps/marketing/next.config.js @@ -4,8 +4,6 @@ const path = require('path'); const { withContentlayer } = require('next-contentlayer'); const { withAxiom } = require('next-axiom'); -const { PrismaPlugin } = require('@prisma/nextjs-monorepo-workaround-plugin'); - const ENV_FILES = ['.env', '.env.local', `.env.${process.env.NODE_ENV || 'development'}`]; ENV_FILES.forEach((file) => { @@ -27,7 +25,6 @@ const FONT_NOTO_SANS_BYTES = fs.readFileSync( /** @type {import('next').NextConfig} */ const config = { experimental: { - instrumentationHook: true, outputFileTracingRoot: path.join(__dirname, '../../'), serverComponentsExternalPackages: ['@node-rs/bcrypt', '@documenso/pdf-sign', 'playwright'], serverActions: { @@ -57,7 +54,6 @@ const config = { // fixes: Module not found: Can’t resolve ‘../build/Release/canvas.node’ if (isServer) { config.resolve.alias.canvas = false; - config.plugins = [...config.plugins, new PrismaPlugin()]; } config.module.rules.push({ diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 03678657db..5b8f3e60b3 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -4,8 +4,6 @@ const path = require('path'); const { version } = require('./package.json'); const { withAxiom } = require('next-axiom'); -const { PrismaPlugin } = require('@prisma/nextjs-monorepo-workaround-plugin'); - const ENV_FILES = ['.env', '.env.local', `.env.${process.env.NODE_ENV || 'development'}`]; ENV_FILES.forEach((file) => { @@ -28,7 +26,6 @@ const FONT_NOTO_SANS_BYTES = fs.readFileSync( const config = { output: process.env.DOCKER_OUTPUT ? 'standalone' : undefined, experimental: { - instrumentationHook: true, outputFileTracingRoot: path.join(__dirname, '../../'), serverComponentsExternalPackages: ['@node-rs/bcrypt', '@documenso/pdf-sign', 'playwright'], serverActions: { @@ -61,7 +58,6 @@ const config = { // fixes: Module not found: Can’t resolve ‘../build/Release/canvas.node’ if (isServer) { config.resolve.alias.canvas = false; - config.plugins = [...config.plugins, new PrismaPlugin()]; } config.module.rules.push({