fix: trace missing dynamic lighthouse dependencies

This commit is contained in:
2026-06-10 13:39:20 +03:00
parent 60626ccd51
commit 8cd10d3225
+7 -1
View File
@@ -4,7 +4,13 @@ const nextConfig: NextConfig = {
output: "standalone",
serverExternalPackages: ['lighthouse', 'chrome-launcher'],
outputFileTracingIncludes: {
'/api/insight': ['./node_modules/lighthouse/**/*'],
'/api/insight': [
'./node_modules/lighthouse/**/*',
'./node_modules/axe-core/**/*',
'./node_modules/js-library-detector/**/*',
'./node_modules/lighthouse-logger/**/*',
'./node_modules/puppeteer-core/**/*'
],
},
};