import type { NextConfig } from "next";

const assetPrefix = process.env.NEXT_PUBLIC_ASSET_PREFIX?.trim().replace(/\/$/, "");

const nextConfig: NextConfig = {
  transpilePackages: ["@agent-bounty/contracts"],
  output: "standalone",
  assetPrefix: assetPrefix || undefined,
};

export default nextConfig;
