fix: trace lighthouse assets in standalone output
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user