You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If exporting standalone player exports (youtube, wistia, Soundcloud, etc...) and not react-player, Internet Explorer 11 errors because it does not recognize es6 syntax in the imported files.
e.g.,
importWistiaPlayerfrom"react-player/wistia";
results in a console error SCRIPT1010 Expected Identifier, pointing to a non-transpiled version of react-player/wistia.js
Current Behavior
If exporting standalone player exports (youtube, wistia, Soundcloud, etc...) and not
react-player
, Internet Explorer 11 errors because it does not recognize es6 syntax in the imported files.e.g.,
results in a console error
SCRIPT1010 Expected Identifier
, pointing to a non-transpiled version ofreact-player/wistia.js
Importing just
react-player
works just fine since its pointing to a fully transpiled version of the lib atlib/index.js
. e.g.,However, ideally I'd like to not have to do this to reduce the bundle size.
Expected Behavior
Be able to pick and choose imports and have it supported by IE11.
The text was updated successfully, but these errors were encountered: