Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharedWorker support #1905

Closed
rmdort opened this issue Aug 17, 2018 · 4 comments
Closed

SharedWorker support #1905

rmdort opened this issue Aug 17, 2018 · 4 comments

Comments

@rmdort
Copy link

rmdort commented Aug 17, 2018

Please add SharedWorker support to parcel.

https://developer.mozilla.org/en/docs/Web/API/SharedWorker

@DeMoorJasper
Copy link
Member

At first sight this seems to be pretty similar to workers (from a bundlers perspective). The regex of worker should probably be updated to also include SharedWorkers and this should work. Not sure what's not working right now.

@rmdort
Copy link
Author

rmdort commented Aug 18, 2018

Just like web workers, Shared worker should be compiled into a separate bundle by parcel.

@DeMoorJasper
Copy link
Member

Like I said it's probably not being catched by the current Regex

@KeineLimonade
Copy link

I developed a quick fix and wrote a test for it. I hope this helps

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

No branches or pull requests

3 participants