import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  output: "standalone",
  // Ships as raw TS/TSX source (no build step of its own) — this app's own
  // bundler needs to transpile it, same as first-party app code, rather
  // than assuming it's pre-built JS like a normal npm package.
  transpilePackages: ["@einfach-produktiv/invoicing"],
  images: {
    remotePatterns: [
      {
        protocol: "https",
        hostname: "payload.mk360.de",
      },
    ],
  },
};

export default nextConfig;
