Skip to content

Commit

Permalink
Fix Next.js builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jun 10, 2024
1 parent 06a63c6 commit 1f758cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sample/next-app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const nextConfig = {
},
},
},
swcMinify: false,
webpack: (config) => {
/**
* Critical: prevents " ⨯ ./node_modules/canvas/build/Release/canvas.node
Expand Down
1 change: 1 addition & 0 deletions sample/next-pages/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const nextConfig = {
},
},
},
swcMinify: false,
webpack: (config) => {
/**
* Critical: prevents " ⨯ ./node_modules/canvas/build/Release/canvas.node
Expand Down

0 comments on commit 1f758cc

Please sign in to comment.