SvelteKit with web worker -> TypeError: Cannot read properties of undefined (reading 'file') #12745
Closed
7 tasks done
Labels
duplicate
This issue or pull request already exists
Describe the bug
Building a SvelteKit project (static adapter) that loads a web worker with last version of Vite which relies on Rollup v3.20.2 leads to following issue:
Downgrading Rollup to v3.15.0 resolve the problem.
Note: it might no be a Vite issue but, Rollup. Not knowing where to report it, I thought about opening this issue first. If I should forward the question to Rollup, let me know.
Reproduction
https://github.com/peterpeterparker/my-project-webworker
Steps to reproduce
note: the project also contains a branch
build/ok-rollup-3.15.0
which displays that downgrading fixes the issueSystem Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: