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
When webpack bundles this, the browser correctly and successfully loads the main worker from 'dist/main.worker.js', however it then tries to load the subworker from 'dist/dist/sub.worker.js' which isn't where the worker bundle was built to.
I'm not sure if this is a config problem on my side or an issue with the plugin. Here are the relevant parts of my webpack config:
Thanks. I had tried that (successfully) but I want the URLs to be relative to my page rather than the root. I can't assume which URL the app will be loaded from.
I have worker that is loaded from the main code:
And within this worker, it tries to load a subworker:
When webpack bundles this, the browser correctly and successfully loads the main worker from 'dist/main.worker.js', however it then tries to load the subworker from 'dist/dist/sub.worker.js' which isn't where the worker bundle was built to.
I'm not sure if this is a config problem on my side or an issue with the plugin. Here are the relevant parts of my webpack config:
The text was updated successfully, but these errors were encountered: