-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Description
I'm trying to write a React app that makes use of the new AudioWorklet processors, but I'm facing a wall: to communicate data with the main thread, I need to extend the AudioWorkletNode class as seen here: https://github.com/GoogleChromeLabs/web-audio-samples/blob/gh-pages/audio-worklet/basic/message-port.html#L70-L95, but it does not work when the class is transpiled to ES5 function.
Is there a way to configure babel to emit es6 instead of es5?
Thanks
Metadata
Metadata
Assignees
Labels
No labels