Devographics / Monorepo

Monorepo containing the State of JS apps
surveyform-sigma.vercel.app
Other
125 stars 50 forks source link

Remove mongodb warning #222

Closed eric-burel closed 1 year ago

eric-burel commented 1 year ago

Warnings are due to "mongodb" being bundled by Next.js. The serverComponentsExternalPackages option can be used to ignore some external packages while bundling, and "mongodb"' is already listed as one of the default.

Yet somehow, mongodb is still bundled.

See https://github.com/vercel/next.js/issues/42277 and https://github.com/vercel/next.js/issues/48282

Those issue might not be fixed for local packages.

eric-burel commented 1 year ago

Tracked at https://github.com/vercel/next.js/issues/49696