From 1fc57f4c443c4b93aff8c019834e2043fe00ec32 Mon Sep 17 00:00:00 2001 From: Elvin Cheng Date: Thu, 6 Feb 2025 13:48:47 -0500 Subject: [PATCH] remove webpack config --- apps/web/next.config.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 3b4096ab..9e8d0b07 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -7,15 +7,6 @@ const nextConfig = { }, turbo: {}, }, - webpack: (config) => { - /** - * Critical: prevents " ⨯ ./node_modules/canvas/build/Release/canvas.node - * Module parse failed: Unexpected character '�' (1:0)" error - */ - config.resolve.alias.canvas = false; - - return config; - }, reactStrictMode: true, env: { PORT: process.env.FRONTEND_PORT,