Describe the bug
I came across this issue when upgrading vitest from 3.0.0-beta.4 to vitest 3.0.0 on a sveltekit project, where it seems the configuration fails to be resolved:
TypeError: Cannot add property 3, object is not extensible
at Array.push (<anonymous>)
...
(minimal reproduction repo linked as part of this issue)
Reproduction
https://github.com/johnal95/vitest-with-sveltekit-plugin.git
System Info
System:
OS: macOS 15.2
CPU: (12) arm64 Apple M3 Pro
Memory: 119.56 MB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.12.0
npm: 10.9.0
pnpm: 9.15.4
npmPackages:
vite: 6.0.7 => 6.0.7
vitest: 3.0.0 => 3.0.0
Used Package Manager
pnpm
Validations