fix(next): externalize playwright and ws (#2352)

This commit is contained in:
Waleed
2025-12-12 20:14:53 -08:00
committed by GitHub
parent 821d127c00
commit 9e3e18601c

View File

@@ -79,7 +79,11 @@ const nextConfig: NextConfig = {
'pino',
'pino-pretty',
'thread-stream',
'ws',
],
outputFileTracingIncludes: {
'/api/tools/stagehand/*': ['./node_modules/ws/**/*'],
},
experimental: {
optimizeCss: true,
turbopackSourceMaps: false,