Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Convert Media Methods to ES5 #416

Closed
wants to merge 14 commits into from
Closed

Convert Media Methods to ES5 #416

wants to merge 14 commits into from

Conversation

jestapinski
Copy link
Contributor

Gatsby does not support ES5 at build time and there is no clean way to get ES6 in there. We would like to use these media methods at build time as well, so as a prerequisite we must use ES5 export syntax before using these at build time.

This PR simply switches the methods we would like to use to ES5 before adding them in at build time (separate PR). I can still access the Twitch video on the home page, so everything continues to work as expected.

@jestapinski
Copy link
Contributor Author

Looking into ESM

@jestapinski jestapinski deleted the js/convert-es5 branch October 22, 2021 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants