Skip to content

Commit 1f758cc

Browse files
committed
Fix Next.js builds
1 parent 06a63c6 commit 1f758cc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sample/next-app/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const nextConfig = {
1313
},
1414
},
1515
},
16+
swcMinify: false,
1617
webpack: (config) => {
1718
/**
1819
* Critical: prevents " ⨯ ./node_modules/canvas/build/Release/canvas.node

sample/next-pages/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const nextConfig = {
1717
},
1818
},
1919
},
20+
swcMinify: false,
2021
webpack: (config) => {
2122
/**
2223
* Critical: prevents " ⨯ ./node_modules/canvas/build/Release/canvas.node

0 commit comments

Comments
 (0)