Skip to content

Commit

Permalink
Make InvalidImportResolvePlugin a BeforeResolvePlugin
Browse files Browse the repository at this point in the history
vercel/turborepo#8165 introduced plugins that operate before resolving occurs, meaning that plugins like `InvalidImportResolvePlugin` which never use the initial resolve result and report issues can avoid that work.

Test Plan: `TURBOPACK_DEV=1 TURBOPACK=1 pnpm test-dev test/development/acceptance-app/invalid-imports.test.ts`
  • Loading branch information
wbinnssmith committed Jun 12, 2024
1 parent bebc63f commit 6284170
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 137 deletions.
Loading

0 comments on commit 6284170

Please sign in to comment.