Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
fix(chore): remove unrelated Prisma code
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell committed Aug 4, 2024
1 parent 835ded9 commit 2e6c4a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions apps/marketing/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -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: {
Expand Down Expand Up @@ -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({
Expand Down
4 changes: 0 additions & 4 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -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: {
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 2e6c4a6

Please sign in to comment.