Skip to content

Commit

Permalink
Turbopack: remote node_modules error filter
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Feb 27, 2024
1 parent eb6867f commit 15bd899
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/next/src/server/dev/turbopack-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ export function processIssues(
const formatted = formatIssue(issue)
newIssues.set(issueKey, issue)

// We show errors in node_modules to the console, but don't throw for them
if (/(^|\/)node_modules(\/|$)/.test(issue.filePath)) continue

relevantIssues.add(formatted)
}

Expand Down

0 comments on commit 15bd899

Please sign in to comment.