fix(next): tells webpack not to bundle the require-in-the-middle pkg (#12417)

This commit is contained in:
Jarrod Flesch
2025-05-15 11:21:23 -04:00
committed by GitHub
parent 3edfd7cc6d
commit 7498d09f1c

View File

@@ -132,6 +132,7 @@ export const withPayload = (nextConfig = {}, options = {}) => {
'drizzle-kit/api', 'drizzle-kit/api',
'sharp', 'sharp',
'libsql', 'libsql',
'require-in-the-middle',
], ],
ignoreWarnings: [ ignoreWarnings: [
...(incomingWebpackConfig?.ignoreWarnings || []), ...(incomingWebpackConfig?.ignoreWarnings || []),