You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// External, because it installs import-in-the-middle and require-in-the-middle - both in the default serverExternalPackages list.
130
130
'@sentry/nextjs',
131
+
// Can be externalized, because we require users to install graphql themselves - we only rely on it as a peer dependency.
132
+
// WHY: without externalizing graphql, a graphql version error will be thrown
133
+
// during runtime ("Ensure that there is only one instance of \"graphql\" in the node_modules\ndirectory.")
134
+
'graphql',
131
135
// TODO: We need to externalize @payloadcms/storage-s3 as well, once Next.js has the ability to exclude @payloadcms/storage-s3/client from being externalized.
132
136
// Do not bundle additional server-only packages during dev to improve compilation speed
0 commit comments