79662322

Date: 2025-06-11 16:14:49
Score: 2
Natty:
Report link

Solved it by excluding @azure/service-bus from the bundler. Next.js has a feature for that: https://nextjs.org/docs/app/api-reference/config/next-config-js/serverExternalPackages

// in next.config.js
/** @type {import("next").NextConfig} */
const config = {
    serverExternalPackages: ["@azure/service-bus"],
};
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel H