Add subworkers polyfill for old Chrome/Electron (fixes #37)
This commit is contained in:
parent
40e084559f
commit
bf731c7812
3 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
import 'stream-browserify' // see https://github.com/ericgundrum/pouch-websocket-sync-example/commit/2a4437b013092cc7b2cd84cf1499172c84a963a3
|
||||
import 'subworkers' // polyfill for https://bugs.chromium.org/p/chromium/issues/detail?id=31666
|
||||
import url from 'url'
|
||||
import ByteBuffer from 'bytebuffer'
|
||||
import MumbleClient from 'mumble-client'
|
||||
|
|
|
@ -4,6 +4,9 @@ import toArrayBuffer from 'to-arraybuffer'
|
|||
import chunker from 'stream-chunker'
|
||||
import Resampler from 'libsamplerate.js'
|
||||
|
||||
// Polyfill nested webworkers for https://bugs.chromium.org/p/chromium/issues/detail?id=31666
|
||||
import 'subworkers'
|
||||
|
||||
// Monkey-patch to allow webworkify-webpack and codecs to work inside of web worker
|
||||
/* global URL */
|
||||
window.URL = URL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue