Cody Olsen
Cody Olsen
### Description ### What to review ### Testing
Fixes #1397 but unsure if it can land since `findPackageJSON` isn't well supported yet. I initially tried with `createRequire`, but I couldn't get it to fail when running from within...
There's two ways we generate `.d.ts` files today: - `@microsoft/api-extractor` - `rolldown-plugin-dts` Which is controlled by setting `dts` in `package.config.ts` (`api-extractor` is the default): ```ts import {defineConfig} from '@sanity/pkg-utils' export...
Vite v7 has changed its [build target defaults to match](https://vite.dev/blog/announcing-vite7.html#default-browser-target-changed-to-baseline-widely-available) `baseline-widely-available`. [It's generated ahead of time](https://github.com/vitejs/vite/blob/78cddd83e5b74caf62a28555f077ed733c248f07/packages/vite/scripts/generateTarget.ts#L1-L21), using a [set date as the target](https://github.com/vitejs/vite/blob/78cddd83e5b74caf62a28555f077ed733c248f07/packages/vite/scripts/generateTarget.ts#L15). [The date is only updated on each...
### Description ### What to review ### Testing ### Notes for release