You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Using the backend integration for a web server (http://localhost:80), trying to use an external Web Worker (monaco-editor) returns 404 errors.
Loading the developer server, with the web server already running on port 80:
Once done, the browser opens at
http://localhost
. The network tab shows it 404 for loading the web worker:If I try adding the worker manually by replacing
return new EditorWorker()
with:Chrome will report that the script in
http://localhost:5173
cannot be accessed byhttp://localhost
.Reproduction
https://github.com/DarkGhostHunter/bug-vite-no-web-worker
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: