Find out the latest versions for v1 and v2 at the GitHub Releases page.
After updating the svelte.config.js, install version 2.x.x:
svelte.config.js
2.x.x
pnpm i -D [email protected]