"new URL(url, import.meta.url)
is not supported in SSR" triggered even though the code never run on the server
#8839
Labels
Describe the bug
Similar issue as #5169
The
new URL(url, import.meta.url)\
is not supported in SSR.` error message is thrown even though the code is not fired on the server. I've created a minimal repro for the bug down below.Initial svelte-kit issue
Reproduction
https://github.com/MathiasWP/vite-import-meta-url-srr-bug
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: