Switch language한국어
Back to the list

Scarab Diagnostic Suite Field Test #003: Dev/Build Contract Drift in Vite

TL;DR AI

Key summary

2 min read
  1. Scarab Diagnostic Suite’s third field test examined Vite issue #21979 and found a contract drift in plugin transform hook filtering between dev and build.

  2. A filter applied in dev mode did not behave the same in build mode, creating a mismatch that could hide build-time failures until later.

  3. The fix was scoped to the build transform path so the filter is applied consistently across modes.

  4. The repair was verified with a focused regression test plus build, type, and formatting checks.

Read the original