Skip to content
Discussion options

You must be logged in to vote

Hi,

Could you try, https://nextjs.org/docs/app/api-reference/config/next-config-js/serverExternalPackages?

/** @type {import('next').NextConfig} */
const nextConfig = {
  serverExternalPackages: ['winston-loki'],
}
 
module.exports = nextConfig

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ruslany
Comment options

@ruslany
Comment options

Answer selected by ruslany
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants