Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Workers without Quantum #869

Closed
dakom opened this issue Oct 16, 2017 · 4 comments
Closed

Workers without Quantum #869

dakom opened this issue Oct 16, 2017 · 4 comments

Comments

@dakom
Copy link
Contributor

dakom commented Oct 16, 2017

As it is right now, workers require quantum, and quantum does not support source maps. So it is really hard to debug workers in the current fuse-box.

As an alternative to issue #868 - a fix could be to allow Workers without Quantum.

For the particular use-case of debugging workers, there's no specific preference which of the above is fixed first, though I'd say it's relatively high priority to fix one of them since as it is right now, there is no way to debug workers at all.

@nchanged
Copy link
Contributor

2.3.4-beta.10 supports Workers with VanillaAPI (sourcemaps and all in place), give it a spin https://github.com/fuse-box/fuse-box-examples/tree/master/examples/webworker

@dakom
Copy link
Contributor Author

dakom commented Oct 16, 2017

woohoo! will try it out tomorrow!!

@dakom
Copy link
Contributor Author

dakom commented Oct 17, 2017

Yup, seems to work great :)

Fwiw on my production/Quantum build I do need to set target: "server". Also I can sometimes get errors in Quantum but not vanilla with the same code by importing third-party libs which access "global", even if they aren't used directly.

All in all though I think this works - from my perspective feel free to close the issue. Thanks for prioritizing this!!!

@nchanged
Copy link
Contributor

@dakom no worries, maybe you could report some of the issues with WebWorker and global

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants