fix: trace lighthouse assets in standalone output

This commit is contained in:
2026-06-10 12:57:38 +03:00
parent 851ce96703
commit c58c2b837c
+3
View File
@@ -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;