Skip to content

Commit 7498d09

Browse files
fix(next): tells webpack not to bundle the require-in-the-middle pkg (#12417)
1 parent 3edfd7c commit 7498d09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/next/src/withPayload.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ export const withPayload = (nextConfig = {}, options = {}) => {
132132
'drizzle-kit/api',
133133
'sharp',
134134
'libsql',
135+
'require-in-the-middle',
135136
],
136137
ignoreWarnings: [
137138
...(incomingWebpackConfig?.ignoreWarnings || []),

0 commit comments

Comments
 (0)