-
Notifications
You must be signed in to change notification settings - Fork 26.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(turbopack): loosen warning log guards #63880
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Failing test suitesCommit: 3962a77
Expand output● app-dir - params hooks compat › should only access search params with useSearchParams
Read more about building and testing Next.js in contributing.md.
Expand output● with minimumCacheTTL of 5 sec › dev support with next.config.js › should use cache and stale-while-revalidate when query is the same for external image
Read more about building and testing Next.js in contributing.md. |
Stats from current PRDefault BuildGeneral
Client Bundles (main, webpack)
Legacy Client Bundles (polyfills)
Client Pages
Client Build Manifests
Rendered Page Sizes
Edge SSR bundle Size
Middleware size
Next Runtimes
build cache
Diff detailsDiff for middleware.jsDiff too large to display |
@@ -67,7 +67,7 @@ export function printNonFatalIssue(issue: Issue) { | |||
// Currently only warnings will be printed, excluding if the error source | |||
// is coming from foreign (node_modules) codes. | |||
if (issue.severity === 'warning') { | |||
if (!issue.filePath.match(/\[project\].+\/node_modules\//g)) { | |||
if (!issue.filePath.match(/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/(^|\/)node_modules(\/|$)/
What
issue's filepath can be outside of turbopack root (
[project]/..
). Loosening check to include any node_modules path.Closes PACK-2876