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
{{ message }}
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
The worker loader works fine for me when I use webpack to create my distribution files.
When I use webpack dev server in hot reload mode, however, I get this error message on the browser console: Script file not found: js/3a7e2f55336ef9a3d972.worker.js
It seems that the script tries to load the worker bundle not from the dev server running on localhost:8080 (like the main bundle), but from the local file system.
I tried using the worker loader both through my webapp config (as post loader) and through worker! in my require statement, with the same result, it works with webpack, but not with webpack dev server.
The worker loader works fine for me when I use webpack to create my distribution files.
When I use webpack dev server in hot reload mode, however, I get this error message on the browser console: Script file not found: js/3a7e2f55336ef9a3d972.worker.js
It seems that the script tries to load the worker bundle not from the dev server running on localhost:8080 (like the main bundle), but from the local file system.
I tried using the worker loader both through my webapp config (as post loader) and through worker! in my require statement, with the same result, it works with webpack, but not with webpack dev server.
link to my project
The text was updated successfully, but these errors were encountered: