fix: trace missing dynamic lighthouse dependencies
This commit is contained in:
+7
-1
@@ -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/**/*'
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user