-
-
Notifications
You must be signed in to change notification settings - Fork 27k
How to target ES6? #4421
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
Comments
You can try the new betas, |
Thanks for the quick response! |
No problem! Let us know if you encounter any bugs. |
Useful, I want to use Web Components and add them to my bundle, but they require an ES6 target |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: