Skip to content

Commit

Permalink
Fix trace ignores (#57331)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Oct 24, 2023
1 parent 2b16a74 commit 5428e5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/next/src/build/collect-build-traces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]
: []),

Expand All @@ -294,7 +294,7 @@ export async function collectBuildTraces({
...sharedIgnores,
'**/*.d.ts',
'**/*.map',

'**/next/dist/pages/**/*',
...(ciEnvironment.hasNextSupport ? ['**/node_modules/sharp/**/*'] : []),
].filter(nonNullable)

Expand Down

0 comments on commit 5428e5a

Please sign in to comment.