Unverified Commit 5428e5a7 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix trace ignores (#57331)

Fixes some of the ignores that were moved around in
https://github.com/vercel/next.js/pull/57280

x-ref:
https://github.com/vercel/vercel/actions/runs/6620930801/job/17989126942?pr=10756
parent 2b16a745
......@@ -268,16 +268,16 @@ export async function collectBuildTraces({
isStandalone ? null : '**/next/dist/compiled/jest-worker/**/*',
'**/next/dist/compiled/webpack/(bundle4|bundle5).js',
'**/node_modules/webpack5/**/*',
'**/next/dist/server/lib/squoosh/**/*.wasm',
'**/next/dist/server/lib/route-resolver*',
'next/dist/compiled/@next/react-dev-overlay/dist/**/*',
'next/dist/compiled/semver/semver/**/*.js',
'**/next/dist/pages/**/*',
...(ciEnvironment.hasNextSupport
? [
// only ignore image-optimizer code when
// this is being handled outside of next-server
'**/next/dist/server/image-optimizer.js',
'**/next/dist/server/lib/squoosh/**/*.wasm',
]
: []),
......@@ -294,7 +294,7 @@ export async function collectBuildTraces({
...sharedIgnores,
'**/*.d.ts',
'**/*.map',
'**/next/dist/pages/**/*',
...(ciEnvironment.hasNextSupport ? ['**/node_modules/sharp/**/*'] : []),
].filter(nonNullable)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment