Skip to content

Commit

Permalink
remove webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
elvincheng3 committed Feb 6, 2025
1 parent 4f51727 commit 1fc57f4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1fc57f4

Please sign in to comment.