Parcel: SharedWorker support

Created on 17 Aug 2018  路  4Comments  路  Source: parcel-bundler/parcel

Please add SharedWorker support to parcel.

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

Good First Issue Help Wanted Feature

Most helpful comment

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

All 4 comments

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.

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

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

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

Was this page helpful?
0 / 5 - 0 ratings