- Add vite@6 to peer dependency ranges
- Rename named export from
tscPlugin
totscWatch
- Add vite@5 and typescript@5 to peer dependency ranges
- Switch plugin to ESM. This removes the CJS warning when using the plugin with Vite 5. A CJS wrapper is still provided but migrating to running Vite in ESM is encouraged
- Drop support for Vite 2 & 3 & node<18 (aligns with Vite 5)
Add vite@4 to peer dependency range
Breaking: Use named export instead of default export for better esm/cjs interop.
To migrate, replace your import by import { tscPlugin } from "vite-plugin-tsc-watch";
Add vite@3 to peer dependency range
Fix: Only start worker once
Initial release