From c58c2b837c1151a23cc4a93892267531457a4c33 Mon Sep 17 00:00:00 2001 From: ayrisdev Date: Wed, 10 Jun 2026 12:57:38 +0300 Subject: [PATCH] fix: trace lighthouse assets in standalone output --- next.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.ts b/next.config.ts index 9435061..8dd357b 100644 --- a/next.config.ts +++ b/next.config.ts @@ -3,6 +3,9 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", serverExternalPackages: ['lighthouse', 'chrome-launcher'], + outputFileTracingIncludes: { + '/api/insight': ['./node_modules/lighthouse/**/*'], + }, }; export default nextConfig;