Latest work on Vitest's istanbuljs fork removed Babel from coverage-istanbul. Instrumentation is now done with packages that Vitest dep graphs already have: magic-string and rolldown, similar to Vite's own SSR transform. Surprisingly this dep trim improved instrumentation speed 5-10x.
github.comRelease v2.0.0 · vitest-dev/istanbuljs🚨 Breaking Changes
lib-instrument: Replace babel with rolldown + magic-string - by @AriPerkkio in #28 (fdd34)
@vitest/istanbul-lib-instrument no longer uses Babel. Code is parsed with OXC (v...
6 reposts37 likes