简介/API 参考文档/next.config.js 配置选项/poweredByHeaderpoweredByHeader Next.js 默认会在响应中添加 x-powered-by 头部信息。如需禁用此功能,请打开 next.config.js 文件并关闭 poweredByHeader 配置项: next.config.jsmodule.exports = { poweredByHeader: false, }部分预渲染 (实验性功能)了解如何在 Next.js 14 中启用部分预渲染 (实验性功能)。productionBrowserSourceMaps在生产环境构建期间启用浏览器源码映射 (source map) 生成。