Add match logging to --debug-build-paths - #88909
Conversation
Failing test suitesCommit: ece4fdd | About building and testing Next.js
Expand output● debug-build-paths › default fixture › glob pattern matching › should exclude paths matching negation patterns ● debug-build-paths › default fixture › glob pattern matching › should exclude dynamic route paths with negation ● debug-build-paths › default fixture › glob pattern matching › should support multiple negation patterns ● debug-build-paths › default fixture › glob pattern matching › should build everything except excluded paths when only negation patterns are provided |
c99da62 to
a7f906b
Compare
| @@ -72,7 +72,11 @@ export async function resolveBuildPaths( | |||
| })) as string[] | |||
|
|
|||
| if (matches.length === 0) { | |||
| Log.warn(`Pattern "${patterns.join(',')}" did not match any files`) | |||
| throw new Error(`Pattern "${patterns.join(',')}" did not match any files`) | |||
| } else { | |||
When glob patterns match files, log 'Pattern "..." did match N files' to provide feedback on successful pattern matching.
a7f906b to
ece4fdd
Compare
Stats from current PR✅ No significant changes detected📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles: **432 kB** → **432 kB** ✅ -58 B82 files with content-based hashes (individual files not comparable between builds) Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
|

No description provided.