import type { NextConfig } from "next"; const nextConfig: NextConfig = { // Native modules: keep them out of the server bundle and load them from node_modules at runtime. serverExternalPackages: ["@napi-rs/canvas", "sharp"], // Do not generate coding-assistant rule files in the project root. agentRules: false, poweredByHeader: false, }; export default nextConfig;