Vite 7 and later use Baseline Widely Available as the default production build target.

Now put this in a Vite application:

Promise.withResolvers<number>();

document.startViewTransition(() => {

// Update the DOM.